Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to package a python library

1. create files:
  Nameofmodule(folder) setup.py README.txt LICINSE.txt MANIFEST.in
  __init__.py(in folder)

2. pip install setuptools wheel
3. py setup.py sdist bdist_wheel or python3 setup.py sdist bdist_wheel

4. twine upload dist/*
 
PREVIOUS NEXT
Tagged: #package #python #library
ADD COMMENT
Topic
Name
5+9 =