generated from cknoll/python-project-template
| src/package_name | Set version to 0.0.3 | |
| tests | Remove ipydex and explicit urllib3 dependency | |
| .gitignore | Add test | |
| LICENSE | Initial commit | |
| MANIFEST.in | Initial commit | |
| pyproject.toml | Add requests-unixsocket2 dependency | |
| README.md | Add requests-unixsocket2 dependency | |
| requirements.txt | Remove ipydex and explicit urllib3 dependency | |
General Information
This is a test package to test guix/guix#2144.
This repository holds the basic directory layout for new python projects. Additional to a reasonable minimum of features (setup.py, requirements.txt, directory structure, ...) it contains the following extras:
- basic unittest
script.pyand associated entrypoint inpyproject.toml(allows to call some functionality of the package directly from command line (trypackage_name cmd1))
Usage
- Rename directory
src/package_name - Edit
pyproject.toml: replace dummy data with real data. - Add your source. a) Either to
core.pyor b) to your own separate file(s).- a) simplifies importing your module
- b) is more flexible but you have to take care of importability yourself.
For local development it is recommended to install this (better: your) package in editable mode: pip install -e . (run from where pyproject.toml lives).