-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (32 loc) · 1.22 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="gnptemplateproject",
version="0.0.1",
description="A template for new Python projects",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/SirGnip/python_template",
# Code is in "src/", an un-importable directory (at least not easily or accidentally)
# Helps reduce confusion around whether code from repo or site-packages is being used.
# https://blog.ionelmc.ro/2014/05/25/python-packaging/#the-structure
# https://hynek.me/articles/testing-packaging/
# https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/
packages=setuptools.find_packages(where="src"),
package_dir={"": "src"},
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
python_requires='>=3.7',
install_requires=[
# 3rd party dependencies
"pytest==5.3.1",
"pytest-cov==2.8.1",
"pylint==2.4.4",
"mypy==0.750",
# personal dependencies
#"mylib @ http://github.com/SirGnip/mylib/tarball/0.0.1#egg=package-1.0",
],
)