Mercurial > hg > whichpy
annotate setup.py @ 1:f4b604d44ff5 default tip
rename console script to avoid import madness
| author | Jeff Hammel <k0scist@gmail.com> |
|---|---|
| date | Tue, 04 Jul 2017 20:56:43 -0700 |
| parents | bcd62e6d822c |
| children |
| rev | line source |
|---|---|
| 0 | 1 import os |
| 2 from setuptools import setup | |
| 3 | |
| 4 try: | |
| 5 here = os.path.dirname(os.path.abspath(__file__)) | |
| 6 description = open(os.path.join(here, 'README.txt')).read() | |
| 7 except IOError: | |
| 8 description = None | |
| 9 | |
|
1
f4b604d44ff5
rename console script to avoid import madness
Jeff Hammel <k0scist@gmail.com>
parents:
0
diff
changeset
|
10 version = '0.1' |
| 0 | 11 |
| 12 deps = [] | |
| 13 | |
| 14 setup(name='whichpy', | |
| 15 version=version, | |
| 16 description="python equivalent of which", | |
| 17 long_description=description, | |
| 18 classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers | |
| 19 keywords='', | |
| 20 author='Jeff Hammel', | |
| 21 author_email='k0scist@gmail.com', | |
| 22 url='https://pypi.python.org/pypi/whichpy', | |
| 23 license='', | |
| 24 py_modules=['which'], | |
| 25 packages=[], | |
| 26 include_package_data=True, | |
| 27 zip_safe=False, | |
| 28 install_requires=deps, | |
| 29 entry_points=""" | |
| 30 # -*- Entry points: -*- | |
| 31 [console_scripts] | |
|
1
f4b604d44ff5
rename console script to avoid import madness
Jeff Hammel <k0scist@gmail.com>
parents:
0
diff
changeset
|
32 which-py = which:main |
| 0 | 33 """, |
| 34 ) | |
| 35 |
