Skip to content

Commit

Permalink
Merge pull request #304 from ColCarroll/update_setup
Browse files Browse the repository at this point in the history
Update setup
  • Loading branch information
rasbt committed Dec 17, 2017
2 parents c1100c9 + dcb332f commit 21ff16a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/sources/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The CHANGELOG for the current development version is available at

##### Changes

- -
- Added `requirements.txt` to `setup.py`.


##### Bug Fixes
Expand Down
15 changes: 12 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,20 @@
#
# License: BSD 3 clause

from os.path import realpath, dirname, join
from setuptools import setup, find_packages
import mlxtend

VERSION = mlxtend.__version__
PROJECT_ROOT = dirname(realpath(__file__))

REQUIREMENTS_FILE = join(PROJECT_ROOT, 'requirements.txt')

with open(REQUIREMENTS_FILE) as f:
install_reqs = f.read().splitlines()

install_reqs.append('setuptools')


setup(name='mlxtend',
version=VERSION,
Expand All @@ -22,9 +32,8 @@
'requirements.txt']
},
include_package_data=True,
install_requires=['setuptools'],
extras_require={'testing': ['nose', 'numpy', 'scipy',
'scikit-learn', 'pandas', 'matplotlib'],
install_requires=install_reqs,
extras_require={'testing': ['nose'],
'docs': ['mkdocs']},
license='BSD 3-Clause',
platforms='any',
Expand Down

0 comments on commit 21ff16a

Please sign in to comment.