Mercurial > hg > pyloader
comparison setup.py @ 90:fa2c4db30e81
update setup.py
| author | Jeff Hammel <k0scist@gmail.com> |
|---|---|
| date | Wed, 12 Apr 2017 11:46:57 -0700 |
| parents | b57de7c38a74 |
| children | 823c5c26fe66 |
comparison
equal
deleted
inserted
replaced
| 89:7fdd934855bf | 90:fa2c4db30e81 |
|---|---|
| 1 import os | 1 import os |
| 2 from setuptools import setup, find_packages | 2 from setuptools import setup |
| 3 | 3 |
| 4 try: | 4 try: |
| 5 here = os.path.dirname(os.path.abspath(__file__)) | 5 here = os.path.dirname(os.path.abspath(__file__)) |
| 6 description = file(os.path.join(here, 'README.txt')).read() | 6 description = open(os.path.join(here, 'README.txt')).read() |
| 7 except IOError: | 7 except IOError: |
| 8 description = '' | 8 description = '' |
| 9 | 9 |
| 10 version = "0.1.3" | 10 version = "0.1.4" |
| 11 dependencies = [] | 11 dependencies = [] |
| 12 | 12 |
| 13 setup(name='pyloader', | 13 setup(name='pyloader', |
| 14 version=version, | 14 version=version, |
| 15 description="Load python attributes from a string", | 15 description="Load python attributes from a string", |
| 16 long_description=description, | 16 long_description=description, |
| 17 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | 17 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers |
| 18 author='Jeff Hammel', | 18 author='Jeff Hammel', |
| 19 author_email='jhammel@mozilla.com', | 19 author_email='k0scist@gmail.com', |
| 20 url='http://k0s.org/', | 20 url='http://k0s.org/hg/pyloader', |
| 21 license='MPL', | 21 license='MPL', |
| 22 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), | 22 packages=['pyloader'], |
| 23 include_package_data=True, | 23 include_package_data=True, |
| 24 zip_safe=False, | 24 zip_safe=False, |
| 25 install_requires=dependencies, | 25 install_requires=dependencies, |
| 26 entry_points=""" | 26 entry_points=""" |
| 27 # -*- Entry points: -*- | 27 # -*- Entry points: -*- |
| 28 [console_scripts] | 28 [console_scripts] |
| 29 pyloader = pyloader.invoke:main | 29 pyloader = pyloader.invoke:main |
| 30 """, | 30 """, |
| 31 ) | 31 ) |
| 32 | |
| 33 | 32 |
