Mercurial > hg > numerics
comparison setup.py @ 11:5609225fb254
read csv
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Thu, 11 Sep 2014 12:46:13 -0700 |
parents | 690778ffd302 |
children | 90edb741397d |
comparison
equal
deleted
inserted
replaced
10:7517682843cb | 11:5609225fb254 |
---|---|
13 # allow use of setuptools/distribute or distutils | 13 # allow use of setuptools/distribute or distutils |
14 kw = {} | 14 kw = {} |
15 try: | 15 try: |
16 from setuptools import setup | 16 from setuptools import setup |
17 kw['entry_points'] = """ | 17 kw['entry_points'] = """ |
18 [console_scripts] | 18 [console_scripts] |
19 read-csv = numerics.read:main | |
19 """ | 20 """ |
20 kw['install_requires'] = dependencies | 21 kw['install_requires'] = dependencies |
21 except ImportError: | 22 except ImportError: |
22 from distutils.core import setup | 23 from distutils.core import setup |
23 kw['requires'] = dependencies | 24 kw['requires'] = dependencies |