Skip to content

Commit

Permalink
changes for PyPI upload.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsteves committed Jun 21, 2014
1 parent d442832 commit 535b147
Showing 1 changed file with 29 additions and 5 deletions.
34 changes: 29 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

# $ ./setup.py sdist

# PyPI

# one time
# $ ./setup.py register -r testpypi

# $ ./setup.py sdist upload -r testpypi

from distutils.core import setup

version = 'snapshot'
Expand All @@ -16,16 +23,33 @@
import time
version = 'snapshot-' + time.strftime('%Y%m%d')

with open('README.txt') as file:
long_description = file.read()

setup(name='pan-python',
version=version,
description='Python package for PAN-OS',
long_description='Python interface to the PAN-OS XML API',
description='Multi-tool set for Palo Alto Networks PAN-OS and ' +
'Panorama API and XML configuration',
long_description=long_description,
author='Kevin Steves',
author_email='kevin.steves@pobox.com',
url='https://github.com/kevinsteves/pan-python',
license='ISC',
#
package_dir = {'': 'lib'},
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: ISC License (ISCL)',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
],

package_dir={'': 'lib'},
packages=['pan'],
scripts=['bin/panxapi.py', 'bin/panconf.py']
)
)

0 comments on commit 535b147

Please sign in to comment.