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

Commit

Permalink
Merge pull request #173 from scikit-learn-contrib/pypi
Browse files Browse the repository at this point in the history
Fix setup.py for pypi
  • Loading branch information
jcrudy committed Dec 28, 2017
2 parents b4df56d + 2fff815 commit b209d19
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
23 changes: 22 additions & 1 deletion appveyor.yml
Expand Up @@ -8,6 +8,16 @@ environment:
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\build_tools\\appveyor\\run_with_env.cmd"

matrix:
- PYTHON: "C:\\Python26"
PYTHON_VERSION: "2.6.9"
PYTHON_ARCH: "32"
MINICONDA: "C:\\Miniconda"

- PYTHON: "C:\\Python26-x64"
PYTHON_VERSION: "2.6.9"
PYTHON_ARCH: "64"
MINICONDA: "C:\\Miniconda-x64"

- PYTHON: "C:\\Python27"
PYTHON_VERSION: "2.7.8"
PYTHON_ARCH: "32"
Expand All @@ -27,6 +37,17 @@ environment:
PYTHON_VERSION: "3.5.0"
PYTHON_ARCH: "64"
MINICONDA: "C:\\Miniconda35-x64"

- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6.3"
PYTHON_ARCH: "32"
MINICONDA: "C:\\Miniconda36"

- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6.3"
PYTHON_ARCH: "64"
MINICONDA: "C:\\Miniconda36-x64"




Expand All @@ -52,7 +73,7 @@ install:
- ps: "ls"

# Install the generated wheel package to test it
- "pip install --pre --no-index --find-links dist/ py-earth"
- "pip install --pre --no-index --find-links dist/ sklearn-contrib-py-earth"

# Not a .NET project, we build scikit-learn in the install step instead
build: false
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Expand Up @@ -98,15 +98,15 @@ def get_ext_modules():
def setup_package():
# Create a dictionary of arguments for setup
setup_args = {
'name': 'py-earth',
'name': 'sklearn-contrib-py-earth',
'version': versioneer.get_version(),
'author': 'Jason Rudy',
'author_email': 'jcrudy@gmail.com',
'packages': find_packages(),
'license': 'LICENSE.txt',
'download_url': 'https://github.com/scikit-learn-contrib/py-earth/archive/0.1.tar.gz',
'description':
'A Python implementation of Jerome Friedman\'s MARS algorithm.',
'A Python implementation of Jerome Friedman\'s Multivariate Adaptive Regression Splines.',
'long_description': codecs.open('README.md', mode='r', encoding='utf-8').read(),
'classifiers': ['Intended Audience :: Developers',
'Intended Audience :: Science/Research',
Expand All @@ -124,6 +124,7 @@ def setup_package():
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering',
'Topic :: Software Development'],
'install_requires': [
Expand Down

0 comments on commit b209d19

Please sign in to comment.