Skip to main content

common python utility modules

Project description

common-util-py

common utilities in python

how to install

virtualenv --python=/usr/bin/python3 py39_env
or
python3.8 -m venv env_py38
source env_py38/bin/activate
pip install .

how to build

$ python setup.py --help-commands
$ python setup.py sdist

how to test

$ python setup.py test
$ python setup.py nosetests

read more here

https://www.codingforentrepreneurs.com/blog/pipenv-virtual-environments-for-python/ https://packaging.python.org/ https://betterscientificsoftware.github.io/python-for-hpc/tutorials/python-pypi-packaging/

how to upload to pypi

python setup.py sdist
pip install twine

commands to upload to the pypi test repository

twine upload --repository-url https://test.pypi.org/legacy/ dist/*

or

twine upload --config-file ~/.pypirc -r testpypi dist/common_util_py-0.0.1.tar.gz

test install

pip install --index-url https://test.pypi.org/simple/ common-util-py

command to upload to the pypi repository

twine upload dist/*
pip install common-util-py

Project details


Download files

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

Source Distribution

common_util_py-0.0.13.tar.gz (11.3 kB view hashes)

Uploaded Source

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