Closed bilby-bot closed 2 weeks ago
In GitLab by @git.ligo:gregory.ashton on Jun 13, 2018, 01:27
In GitLab by @git.ligo:gregory.ashton on Jun 13, 2018, 03:29
We have a test setup! See the pip test page here: https://test.pypi.org/project/tupak/
You can try it out by running
pip install --index-url https://test.pypi.org/simple/ tupak==0.2
Be sure to install the latest (0.2 at the time of writing) version. Otherwise, ignore the version numbers, I just used these for testing.
I've added install_requires
to the setup.py. This seems like a duplicate of requirements.txt
, but is subtely different (see for example the discussion here: https://stackoverflow.com/questions/14399534/reference-requirements-txt-for-the-install-requires-kwarg-in-setuptools-setup-py).
Basic instructions for pushing the 0.2 release to pypi (I think)
First install twine $ pip install twine
. Then,
$ python setup.py sdist
- this will create a file dist/PACKAGENAME-VERSION.tar.gz
$ twine upload dist/PACKAGENAME-VERSION.tar.gz
Fill in the package name and version appropriately. You'll be asked for the password etc.
Finally we should
In GitLab by @git.ligo:gregory.ashton on Jun 13, 2018, 03:33
For future reference, this link was pretty useful: https://tom-christie.github.io/articles/pypi/
In GitLab by @git.ligo:paul-lasky on Jun 15, 2018, 13:20
Were pip installable!
I've created the tag on GitLab, but haven't added release notes yet.
In GitLab by @git.ligo:gregory.ashton on Jun 16, 2018, 00:45
Awesome, I'll close this then.
In GitLab by @git.ligo:gregory.ashton on Jun 16, 2018, 00:45
closed
In GitLab by @git.ligo:michael.williams on Oct 3, 2024, 17:57
unassigned @git.ligo:gregory.ashton
In GitLab by @git.ligo:gregory.ashton on Jun 5, 2018, 03:14