[setup] more setup changes

This commit is contained in:
mzwiessele 2016-07-29 11:07:50 +01:00
parent 65006a9b35
commit fc8cb8e29c
3 changed files with 15 additions and 26 deletions

View file

@ -42,7 +42,7 @@ test_script:
# the interpreter you're using - Appveyor does not do anything special # the interpreter you're using - Appveyor does not do anything special
# to put the Python evrsion you want to use on PATH. # to put the Python evrsion you want to use on PATH.
#- "build.cmd %PYTHON%\\python.exe setup.py test" #- "build.cmd %PYTHON%\\python.exe setup.py test"
- "coverage run travis_tests.py" #- "coverage run travis_tests.py"
after_test: after_test:
# This step builds your wheels. # This step builds your wheels.
@ -63,16 +63,15 @@ on_success:
- "echo password:%pip_upload% >> %USERPROFILE%\\.pypirc" - "echo password:%pip_upload% >> %USERPROFILE%\\.pypirc"
- type %USERPROFILE%\\.pypirc - type %USERPROFILE%\\.pypirc
- ls dist\ - ls dist\
- twine upload -r test dist\*.whl - twine upload -r test dist\*
#deploy:
deploy: # release: GPy-v$(__version__)
release: GPy-v$(__version__) # description: 'GPy windows install'
description: 'GPy windows install' # provider: GitHub
provider: GitHub # artifact: dist\*.exe # upload wininst to GitHub
artifact: dist\*.exe # upload wininst to GitHub # draft: false
draft: false # prerelease: false
prerelease: false # on:
on: # branch: deploy # release from deploy branch only
branch: deploy # release from deploy branch only # #appveyor_repo_tag: true # deploy on tag push only
#appveyor_repo_tag: true # deploy on tag push only

View file

@ -5,9 +5,6 @@ commit = True
[bumpversion:file:GPy/__version__.py] [bumpversion:file:GPy/__version__.py]
[bdist_wheel]
universal = 1
[upload_docs] [upload_docs]
upload-dir = doc/build/html upload-dir = doc/build/html

View file

@ -59,14 +59,7 @@ def read_to_rst(fname):
desc = """ desc = """
- `GPy homepage <http://sheffieldml.github.io/GPy/>`_ Please refer to the github homepage for detailed instructions on installation and usage.
- `Tutorial notebooks <http://nbviewer.ipython.org/github/SheffieldML/notebook/blob/master/GPy/index.ipynb>`_
- `User mailing-list <https://lists.shef.ac.uk/sympa/subscribe/gpy-users>`_
- `Developer documentation <http://gpy.readthedocs.org/en/devel/>`_
- `Travis-CI unit-tests <https://travis-ci.org/SheffieldML/GPy>`_
- `License <https://opensource.org/licenses/BSD-3-Clause>`_
For full description and installation instructions please refer to the github page.
""" """
@ -116,6 +109,7 @@ setup(name = 'GPy',
author = read_to_rst('AUTHORS.txt'), author = read_to_rst('AUTHORS.txt'),
author_email = "gpy.authors@gmail.com", author_email = "gpy.authors@gmail.com",
description = ("The Gaussian Process Toolbox"), description = ("The Gaussian Process Toolbox"),
long_description = desc,
license = "BSD 3-clause", license = "BSD 3-clause",
keywords = "machine-learning gaussian-processes kernels", keywords = "machine-learning gaussian-processes kernels",
url = "http://sheffieldml.github.com/GPy/", url = "http://sheffieldml.github.com/GPy/",
@ -154,8 +148,7 @@ setup(name = 'GPy',
include_package_data = True, include_package_data = True,
py_modules = ['GPy.__init__'], py_modules = ['GPy.__init__'],
test_suite = 'GPy.testing', test_suite = 'GPy.testing',
long_description=desc, install_requires = ['numpy>=1.7', 'scipy>=0.16', 'six', 'paramz>=0.5.2'],
install_requires=['numpy>=1.7', 'scipy>=0.16', 'six', 'paramz>=0.5.2'],
extras_require = {'docs':['sphinx'], extras_require = {'docs':['sphinx'],
'optional':['mpi4py', 'optional':['mpi4py',
'ipython>=4.0.0', 'ipython>=4.0.0',