From cebaade8f20e3d070994c91c852455ddf37bf32e Mon Sep 17 00:00:00 2001 From: Robin Date: Thu, 15 Aug 2019 13:18:34 +1000 Subject: [PATCH] several pypi packaging fixes --- .gitignore | 4 +++- TODO.txt | 10 ++++++++++ setup.py | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d068d35..e96dfe7 100644 --- a/.gitignore +++ b/.gitignore @@ -10,5 +10,7 @@ gen notebooks/.ipynb_checkpoints notebooks/scratch.ipynb nsopy.egg-info -dist .pytest_cache + +dist +build diff --git a/TODO.txt b/TODO.txt index a26fac3..e9daabe 100644 --- a/TODO.txt +++ b/TODO.txt @@ -14,3 +14,13 @@ - replace CP and BDL gurobi dependency with open source alternative? - works on python 3? travis.. - more test cases + + +# To upload new version +(pip install setuptools wheel twine) + +(clear directory, otherwise twine gets confused about the version to upload) +cd dist +rm * +python setup.py sdist bdist_wheel +twine upload dist/* \ No newline at end of file diff --git a/setup.py b/setup.py index fef742a..9637db4 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ setup( name='nsopy', - version='1.5', + version='1.50', description='Non-smooth optimization for Python', author='Robin Vujanic', author_email='vjc.robin@gmail.com',