Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Commit a72c4b7

Browse files
committed
Editing setup.py package metadata
1 parent e3f554f commit a72c4b7

File tree

1 file changed

+25
-8
lines changed

1 file changed

+25
-8
lines changed

setup.py

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from setuptools import setup, Extension
1+
from setuptools import setup, Extension, find_packages
22
import sys
33
import codecs
44
import versioneer
@@ -102,20 +102,37 @@ def setup_package():
102102
'version': versioneer.get_version(),
103103
'author': 'Jason Rudy',
104104
'author_email': '[email protected]',
105-
'packages': ['pyearth', 'pyearth.test',
106-
'pyearth.test.basis', 'pyearth.test.record'],
105+
'packages': find_packages(),
107106
'license': 'LICENSE.txt',
108107
'download_url': 'https://github.com/scikit-learn-contrib/py-earth/archive/0.1.tar.gz',
109108
'description':
110109
'A Python implementation of Jerome Friedman\'s MARS algorithm.',
111110
'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'],
115129
'install_requires': [
116130
'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']},
119136
'setup_requires': ['numpy'],
120137
'include_package_data': True
121138
}

0 commit comments

Comments
 (0)