A single setup.py file for all my Python projects
To use, simply copy the setup.py
file in this repo into the top level
of a Python project. This setup script requires Python 3.5 or greater, but
making it work with an earlier version should be pretty simple. This is left
as an exercise for the reader. ;)
In order to get the most out of this setup script, a few things should be kept in mind:
- PEP 8 should be used throughout your code.
- Your
__init__.py
files should start with a single line description of it's package. - You should use the
__author__
,__version__
,__email__
, and__license__
variables in your__init__.py
file. - Your dependencies should be in a file called
requirements.txt
in the same directory as thesetup.py
file.
I've tried to stick with convention with these design choices. If you don't like them, feel free to make your own version of this script. :)