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 package to PyPI #280

Closed
monocongo opened this issue Mar 7, 2019 · 2 comments
Closed

Publish package to PyPI #280

monocongo opened this issue Mar 7, 2019 · 2 comments

Comments

@monocongo
Copy link
Owner

Build upon #55 and publish to PyPI, so that users can bypass building/installing from the source code from GitHub. Follow the instructions outlined here. Update the documentation accordingly.

@monocongo
Copy link
Owner Author

monocongo commented Mar 11, 2019

The package is now installed as version 1.0.2.

Further work to be done:

  • make sure the grid processing entry point works as expected
  • add the divisions processing as an entry point
  • remove the scripts directory and all script files
  • update the README and/or documentation files to reflect the above changes
  • add information into the documentation files to explain how to install via pip install and run scripts without building/testing, etc.
  • update version to 1.0.3 and push to PyPI

monocongo added a commit that referenced this issue Mar 11, 2019
…rid.py script into the main package directory as __main__.py for use as an entry point script

#280
monocongo added a commit that referenced this issue Mar 11, 2019
@monocongo
Copy link
Owner Author

Reminder: do this on Linux, save yourself some headaches.

Short version:

  1. Get the setup.py file in shape as described here
  2. $ rm -rf dist
  3. $ python setup.py sdist bdist_wheel
  4. $ twine check dist/*
  5. $ twine upload --repository-url https://test.pypi.org/legacy/ dist/*
  6. $ twine upload dist/*

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

1 participant