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

Make package available through pypi #10

Open
dhhagan opened this issue Mar 7, 2018 · 4 comments
Open

Make package available through pypi #10

dhhagan opened this issue Mar 7, 2018 · 4 comments

Comments

@dhhagan
Copy link
Collaborator

dhhagan commented Mar 7, 2018

Hey @darothen : any chance you could make this package available on pypi? I am looking at including it as a dependency in something I'm going to release, but don't want to force people (who may be less software-inclined) to install from source. Is that something that is possible?

@darothen
Copy link
Owner

Is there any reason why we might want to use PyPI instead of conda-forge? The Fortran compilation step is a bit problematic here... I'm pretty sure it'll work just fine, but in my experience conda-forge is an easier platform for code with an external compilation step.

@darothen
Copy link
Owner

PyPI upload steps:

  1. Increment the version number; publish a tagged release to GitHub.
  2. Build a new distribution by executing python setup.py sdist; this will create the distribution file for uploads and will automatically use that new version number you incremented.
  3. Upload via twine: twine upload dist/*

I went ahead and created an PyPI project; it's not quite showing up right now if you try to pip install py-mie but hopefully it'll catch up in a few hours.

@dhhagan
Copy link
Collaborator Author

dhhagan commented Mar 19, 2018

Awesome. I've never used conda-forge, but it doesn't really matter to me..

@darothen
Copy link
Owner

Looks to be working just fine on PyPI; will endeavor to set-up conda-forge when I have some more time :)

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

No branches or pull requests

2 participants