Skip to content

azeemprogrammer/python-package

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

avi_package

This is a tutorial project for publishing your own python library on PyPi.

Requirments

Use the package manager pip to install all the requirements. Just follow the commands below:

Upgrade Setuptoos:

python -m pip install --upgrade twine setuptools

Install Wheel:

pip install wheel

Make a build for your Library/Package:

python setup.py sdist bdist_wheel

Install twine:

pip install twine

Upload Your Library:

twine upload dist/*

If the above command fail to upload:

python -m twine upload dist/*

If you want to upload through Git repo, Add this code after import statements

here = os.path.abspath(os.path.dirname(__file__))

with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
    long_description = "\n" + fh.read()

After add this code you have to add an Readme.md file and the just follow the commands above.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%