bilby-dev / bilby

A unified framework for stochastic sampling packages and gravitational-wave inference in Python. Note that we are currently transitioning from git.ligo.org/lscsoft/bilby, please bear with us!
https://bilby-dev.github.io/bilby/
MIT License
58 stars 66 forks source link

Make it pip installable #150

Closed bilby-bot closed 2 weeks ago

bilby-bot commented 6 years ago

In GitLab by @git.ligo:gregory.ashton on Jun 5, 2018, 03:14

bilby-bot commented 6 years ago

In GitLab by @git.ligo:gregory.ashton on Jun 13, 2018, 01:27

bilby-bot commented 6 years ago

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/

Try it out

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.

Comments

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,

Fill in the package name and version appropriately. You'll be asked for the password etc.

Finally we should

bilby-bot commented 6 years ago

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/

bilby-bot commented 6 years ago

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.

bilby-bot commented 6 years ago

In GitLab by @git.ligo:gregory.ashton on Jun 16, 2018, 00:45

Awesome, I'll close this then.

bilby-bot commented 6 years ago

In GitLab by @git.ligo:gregory.ashton on Jun 16, 2018, 00:45

closed

bilby-bot commented 2 weeks ago

In GitLab by @git.ligo:michael.williams on Oct 3, 2024, 17:57

unassigned @git.ligo:gregory.ashton