-
Notifications
You must be signed in to change notification settings - Fork 0
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
Reorganize repo as a Python library #1
Comments
I'm actually not sure what is required in order to make this pip installable. Can you provide more details and/or an example project? |
If someone need help with this one - I'm here |
Yep, would love some guidance on how to make this pip installable. A simple reference project would also help a lot. |
Well - You can have a look here - https://packaging.python.org/tutorials/packaging-projects/. Also, this one looks promising - https://github.com/audreyr/cookiecutter-pypackage. Generally, After setting up the project structure you'll need to work on the package in a dev mode. All you need to do is (in the project's folder of course): This will ensure that any changes that you made will reflect to the pip packages (or to your virtualenv). This generally how I'm developing my packages. You can also look on this package I created, just so you could any reference and see I set my Travis incase cookie cutter set up something wrong. |
This is a good template to start with: |
Took a lot of mucking around, trial and error, but seems to be working now + integrated with travis and coveralls. Tox still not working on my local env (pycharm on windows) but not sure it's a blocker. |
So that it can be installed from pip
The text was updated successfully, but these errors were encountered: