Skip to main content

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 tag 1.2.10
#git push origin --tags
git add pyproject.toml
git add .gitignore
git add *.py
git add *.md
git commit -m "new release"
git push
python -m setuptools_git_versioning
python -m build

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

python -m build

Build the Package

python -m build --wheel -n

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pyfunc_config-1.2.10.dev1-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file pyfunc_config-1.2.10.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyfunc_config-1.2.10.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 92e9e7c9d8cdfa2e69d5742326bac03dffebd6cc3cb23e8ba05fad9a6db3ca56
MD5 3c6aa67d6af91b186b4cbd9f71964fae
BLAKE2b-256 3b1e023299122bb263257b63f223e2148fb182b7d3a94444198998726738f8fa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page