|
1 | | -from setuptools import setup, Extension |
| 1 | +from setuptools import setup, Extension, find_packages |
2 | 2 | import sys |
3 | 3 | import codecs |
4 | 4 | import versioneer |
@@ -102,20 +102,37 @@ def setup_package(): |
102 | 102 | 'version': versioneer.get_version(), |
103 | 103 | 'author': 'Jason Rudy', |
104 | 104 | 'author_email': '[email protected]', |
105 | | - 'packages': ['pyearth', 'pyearth.test', |
106 | | - 'pyearth.test.basis', 'pyearth.test.record'], |
| 105 | + 'packages': find_packages(), |
107 | 106 | 'license': 'LICENSE.txt', |
108 | 107 | 'download_url': 'https://github.com/scikit-learn-contrib/py-earth/archive/0.1.tar.gz', |
109 | 108 | 'description': |
110 | 109 | 'A Python implementation of Jerome Friedman\'s MARS algorithm.', |
111 | 110 | 'long_description': codecs.open('README.md', mode='r', encoding='utf-8').read(), |
112 | | - 'py_modules': ['pyearth.earth', 'pyearth._version'], |
113 | | - 'classifiers': ['Development Status :: 3 - Alpha'], |
114 | | - 'requires': ['numpy', 'scipy'], |
| 111 | + 'classifiers': ['Intended Audience :: Developers', |
| 112 | + 'Intended Audience :: Science/Research', |
| 113 | + 'License :: OSI Approved :: BSD License', |
| 114 | + 'Development Status :: 3 - Alpha', |
| 115 | + 'Operating System :: MacOS', |
| 116 | + 'Operating System :: Microsoft :: Windows', |
| 117 | + 'Operating System :: POSIX', |
| 118 | + 'Operating System :: Unix', |
| 119 | + 'Programming Language :: Cython', |
| 120 | + 'Programming Language :: Python', |
| 121 | + 'Programming Language :: Python :: 2', |
| 122 | + 'Programming Language :: Python :: 2.6', |
| 123 | + 'Programming Language :: Python :: 2.7', |
| 124 | + 'Programming Language :: Python :: 3', |
| 125 | + 'Programming Language :: Python :: 3.4', |
| 126 | + 'Programming Language :: Python :: 3.5', |
| 127 | + 'Topic :: Scientific/Engineering', |
| 128 | + 'Topic :: Software Development'], |
115 | 129 | 'install_requires': [ |
116 | 130 | 'scipy >= 0.16', |
117 | | - 'scikit-learn >= 0.16', |
118 | | - 'sphinx_gallery'], |
| 131 | + 'scikit-learn >= 0.16' |
| 132 | + ], |
| 133 | + 'extras_require': {'docs': ['sphinx_gallery'], |
| 134 | + 'dev': ['cython'], |
| 135 | + 'export': ['sympy']}, |
119 | 136 | 'setup_requires': ['numpy'], |
120 | 137 | 'include_package_data': True |
121 | 138 | } |
|
0 commit comments