Created
November 7, 2020 16:07
-
-
Save a-recknagel/53425eb2eecfd62c7d6547d15edba7eb to your computer and use it in GitHub Desktop.
Minimal packaging requirements
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from setuptools import setup | |
setup( | |
name="my_package", | |
version="0.1.0", | |
packages=["my_package"], | |
install_requires=[], | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This setup file should live at the top-level of the project tree, with the code that needs to be packaged being inside of a folder called "my_package", as the
packages
keyword defines:The package can then be installed into the currently activated python environement by running
pip install -e .