Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

publish PySEP on PyPi and Conda #55

Open
bch0w opened this issue Nov 17, 2022 · 1 comment
Open

publish PySEP on PyPi and Conda #55

bch0w opened this issue Nov 17, 2022 · 1 comment

Comments

@bch0w
Copy link
Member

bch0w commented Nov 17, 2022

I have only ever published a package on PyPi, but not Conda. I attempted to do this with Pyatoa but there were some sticky dependencies (Pyflex and Pyadjoint are not published) that prevented me from publishing on Conda successfully.

I think PySEP is a good target repository to push all the way to Conda after we get through the currently open issues and get things stable. It's a small enough package that it would be a good testbed for pushing out stable version releases and learning how to work with PyPi and Conda on a higher level. The end goal here would be to reduce the entire install procedure to:

conda install pysep

This would then give us experience and allow us start thinking about putting the rest of adjTomo on Conda which would really improve user experience.

@bch0w
Copy link
Member Author

bch0w commented Feb 23, 2023

Important! The name PySEP was already taken on PyPi, so to avoid extra work by renaming the entire package and everything inside it, I decided to simply add a suffix to the published PyPi name, which is now: pysep-adjtomo

The latest version of PySEP (v0.3.1) is now published on PyPi. From now on, official versioned releases will be published to PyPi while all rapid development will continue to take place on the devel branch.

https://pypi.org/project/pysep-adjtomo/0.3.1/

That means, to install PySEP via Pip, you will have to run

pip install pysep-adjtomo

Also note that the Cartopy dependency will fail building from wheel when using Pip, and will have to be installed via Conda to skirt around this issue (SciTools/cartopy#1940). The updated install instructions will reflect this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant