Now installs requirements when installed via pip. Closes #42.
This commit is contained in:
parent
b12f17d2f2
commit
424b77da85
1 changed files with 9 additions and 1 deletions
10
setup.py
10
setup.py
|
|
@ -1,4 +1,5 @@
|
|||
from distutils.core import setup
|
||||
from setuptools import setup, find_packages
|
||||
import sys
|
||||
|
||||
kwargs = {'name': 'Glymur',
|
||||
'version': '0.1.8',
|
||||
|
|
@ -13,6 +14,13 @@ kwargs = {'name': 'Glymur',
|
|||
'scripts': ['bin/jp2dump'],
|
||||
'license': 'LICENSE.txt',
|
||||
'platforms': ['darwin']}
|
||||
|
||||
instllrqrs = ['numpy>1.6.2']
|
||||
if sys.hexversion < 0x03030000:
|
||||
instllrqrs.append('contextlib2>=0.4')
|
||||
instllrqrs.append('mock>=1.0.1')
|
||||
kwargs['install_requires'] = instllrqrs
|
||||
|
||||
clssfrs = ["Programming Language :: Python",
|
||||
"Programming Language :: Python :: 2.7",
|
||||
"Programming Language :: Python :: 3.3",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue