libs for cameramonit, ocr, fin-officer, cfo, and other projects
Project description
config.pyfunc.com
START
setup local environment
python3 -m venv pytest-env
source pytest-env/bin/activate
Install required tools
pip install setuptools wheel setuptools-git-versioning build twine pip-tools toml path
pip install --upgrade setuptools_scm
pip install --upgrade twine
pip list
UPDATE
quick update
git status
git tag 1.2.13
git push origin --tags
git add pyproject.toml
git add .gitignore
git add *.py
git add *.md
git add src/*
git commit -m "new release"
git push
python -m setuptools_git_versioning
rm -rf build dist *.egg-info
python -m build
python -m twine upload dist/*
DETAILS
git tag 1.2.8
git push origin --tags
VERSION
python -m setuptools_git_versioning
update requirements
pip-compile pyproject.toml
pip-sync
build and publish your package:
Clean
rm -rf build dist *.egg-info
Build the Package with debug
python -m build --wheel -n
Build the Package
python -m build
Publish to PyPI
python -m twine upload dist/*
Another
Here's an updated GitHub Actions workflow to include the script execution:
py generate_init.py -p src/pyfunc_config
py -m build
twine check dist/*
test before publish
twine upload -r testpypi dist/*
publish
twine upload dist/*
Semantic versioning
The idea of semantic versioning (or SemVer) is to use 3-part version numbers, major.minor.patch, where the project author increments:
major when they make incompatible API changes,
minor when they add functionality in a backwards-compatible manner, and
patch, when they make backwards-compatible bug fixes.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyfunc_config-1.2.13.dev1.tar.gz
(24.7 kB
view hashes)
Built Distribution
Close
Hashes for pyfunc_config-1.2.13.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dc2f8db05fe5e5a12b7259d8103ed9069d29502355f59e0077a77e5cf11c7e5 |
|
MD5 | 932149fe7a7a8c22244136bb81c37a4f |
|
BLAKE2b-256 | dc620b909ce369e244a57680f1e321de32a2983507a1bf4e8b26800307b0edd2 |
Close
Hashes for pyfunc_config-1.2.13.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27d824536ecc70dad689ec971f25a20c695551cfdcfb52657c73f966f5ffcbe5 |
|
MD5 | 069000577454ec7ace7965638ec65247 |
|
BLAKE2b-256 | 5482bf088f789ff2f8848564d03cb0d66d7d202de94d3cd5e04cbe92949dfe65 |