Mercurial > hg > MakeItSo
comparison makeitso/python_package/setup.py @ 245:2eb0a8dc2303
python 3.5
| author | Jeff Hammel <k0scist@gmail.com> |
|---|---|
| date | Mon, 20 Feb 2017 10:13:32 -0800 |
| parents | 2ffadba77bb6 |
| children | 1c6807a22cea |
comparison
equal
deleted
inserted
replaced
| 244:fb70a9c72ec2 | 245:2eb0a8dc2303 |
|---|---|
| 19 from distutils.core import setup | 19 from distutils.core import setup |
| 20 kw['requires'] = dependencies | 20 kw['requires'] = dependencies |
| 21 | 21 |
| 22 try: | 22 try: |
| 23 here = os.path.dirname(os.path.abspath(__file__)) | 23 here = os.path.dirname(os.path.abspath(__file__)) |
| 24 description = file(os.path.join(here, 'README.txt')).read() | 24 description = open(os.path.join(here, 'README.txt')).read() |
| 25 except IOError: | 25 except IOError: |
| 26 description = '' | 26 description = '' |
| 27 | 27 |
| 28 | 28 |
| 29 setup(name='{{project}}', | 29 setup(name='{{project}}', |
