Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

This is just a simple example of a setup.py that will work (assuming python3.4+, not legacy python)

You can clone this repository:

git clone https://github.com/waynew/simplest-python-package.git

Then create a new venv and activate it:

cd simplest-python-package
python -m venv simple
source simple/bin/activate

Now install this package in editable mode:

python -m pip install -e .

Now you can run the package from anywhere using either

myproj

Or

python -m myproj

Of course, this assumes that you have ~/.local/bin on your PATH. Unless you're not on Linux, in which case Python put it somewhere else, but I couldn't tell you for sure.

Feel free to use this project as a starting point for your Python packages - just edit the setup.py, README, and LICENSE files to be useful for whatever your purposes are.

About

The simplest Python package that could do something.

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.