Mercurial > hg > MakeItSo
comparison setup.py @ 246:1c6807a22cea
go tox
| author | Jeff Hammel <k0scist@gmail.com> |
|---|---|
| date | Fri, 31 Mar 2017 17:53:26 -0700 |
| parents | ba7dd9820181 |
| children | 43db853df1f8 |
comparison
equal
deleted
inserted
replaced
| 245:2eb0a8dc2303 | 246:1c6807a22cea |
|---|---|
| 7 # https://github.com/nipy/nipype/blob/master/setup.py | 7 # https://github.com/nipy/nipype/blob/master/setup.py |
| 8 # might also be helpful | 8 # might also be helpful |
| 9 | 9 |
| 10 import os | 10 import os |
| 11 from setuptools import setup | 11 from setuptools import setup |
| 12 join = os.path.join | |
| 13 | 12 |
| 14 try: | 13 try: |
| 15 here = os.path.dirname(os.path.abspath(__file__)) | 14 here = os.path.dirname(os.path.abspath(__file__)) |
| 16 description = open(os.path.join(here, 'README.txt')).read() | 15 description = open(os.path.join(here, 'README.txt')).read() |
| 17 except IOError: | 16 except IOError: |
| 30 url='http://k0s.org/hg/MakeItSo', | 29 url='http://k0s.org/hg/MakeItSo', |
| 31 license='MPL', | 30 license='MPL', |
| 32 packages=['makeitso'], | 31 packages=['makeitso'], |
| 33 include_package_data=True, | 32 include_package_data=True, |
| 34 package_data={'makeitso': [ | 33 package_data={'makeitso': [ |
| 35 join('python_package', 'tests', '*') | 34 os.path.join('python_package', 'tests', '*') |
| 36 # 'python_package/*' | 35 ]}, |
| 37 ]}, | |
| 38 zip_safe=False, | 36 zip_safe=False, |
| 39 install_requires=[ | 37 install_requires=[ |
| 40 # -*- Extra requirements: -*- | 38 # -*- Extra requirements: -*- |
| 41 'tempita >= 0.5.1', | 39 'tempita >= 0.5.1', |
| 42 'webob', | 40 'webob', |
| 43 ], | 41 ], |
| 42 tests_require=['tox'], | |
| 44 entry_points=""" | 43 entry_points=""" |
| 45 # -*- Entry points: -*- | 44 # -*- Entry points: -*- |
| 46 [console_scripts] | 45 [console_scripts] |
| 47 makeitso = makeitso.makeitso:main | 46 makeitso = makeitso.makeitso:main |
| 48 make-python-package = makeitso.python:main | 47 make-python-package = makeitso.python:main |
