Skip to content

xiaoxstz/Python.Packages.Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1. Reference

2. installation

2.1. install with this folder

Open a command ternimal, and then switch to the project directory(where setup.py is). Then use the command below to install

pip install mypackage

2.2. Install with wheel file

2.2.1. build the wheel file

py -m build

then it will create a folder dist and a folder mypackage.egg-info

  • there are *.tar.gz and *.whl in the folder dist

2.2.2. install the wheel file

pip install wheel_name.whl

3. Usage

There is a demo:

  • test.py in this folder