Mercurial > hg > pyloader
annotate setup.py @ 1:47d9472e7754
add path of file directory when loading files
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Tue, 03 May 2011 14:26:35 -0700 |
| parents | 6fa6d987b3af |
| children | 6cb7696edc4d |
| rev | line source |
|---|---|
| 0 | 1 import os |
| 2 from setuptools import setup, find_packages | |
| 3 | |
| 4 try: | |
| 5 here = os.path.dirname(os.path.abspath(__file__)) | |
| 6 description = file(os.path.join(here, 'README.txt')).read() | |
| 7 except IOError: | |
| 8 description = '' | |
| 9 | |
|
1
47d9472e7754
add path of file directory when loading files
Jeff Hammel <jhammel@mozilla.com>
parents:
0
diff
changeset
|
10 version = "0.1.1" |
| 0 | 11 dependencies = [] |
| 12 | |
| 13 setup(name='pyloader', | |
| 14 version=version, | |
| 15 description="Load python attributes from a string", | |
| 16 long_description=description, | |
| 17 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | |
| 18 author='Jeff Hammel', | |
| 19 author_email='jhammel@mozilla.com', | |
| 20 url='http://k0s.org/', | |
| 21 license='MPL', | |
| 22 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), | |
| 23 include_package_data=True, | |
| 24 zip_safe=False, | |
| 25 install_requires=dependencies, | |
| 26 entry_points=""" | |
| 27 # -*- Entry points: -*- | |
| 28 """, | |
| 29 ) | |
| 30 | |
| 31 |
