Created
October 27, 2022 13:44
-
-
Save elena-roff/7db75db80edfd2a5f9b863df4e0c5639 to your computer and use it in GitHub Desktop.
Making packages locally installable
This file contains 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
# can also include requirements | |
# create _init_.py in the package folder | |
# to install: `pip install -e .` | |
# or with the github/lab url `pip install git+ssh://[email protected]/...` | |
import os | |
import setuptools | |
here = os.path.abspath(os.path.dirname(__file__)) | |
setuptools.setup( | |
name="package-name", | |
version="0.0.0", | |
author="", | |
packages=setuptools.find_packages(include=["package-name"]), | |
classifiers=[ | |
"Programming Language :: Python :: 3", | |
"Operating System :: OS Independent", | |
], | |
install_requires=[], | |
tests_require=[], | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment