-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
49 lines (45 loc) · 1.36 KB
/
setup.py
File metadata and controls
49 lines (45 loc) · 1.36 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
import os
import sys
from importlib import import_module
from setuptools import setup
# If we do from helloworld import __version__ etc. we will get an error because requirements for imports in __init__.py
# are not yet installed. This is an ugly way to do it but I haven't found a better way.
sys.path.append(os.path.join(os.path.split(__file__)[0], "helloworld"))
info = import_module("_info")
with open("README.md", "r") as f:
long_description = f.read()
setup(
name="helloworld-mkmenta",
version=info.__version__,
description="Say hello!",
long_description=long_description,
long_description_content_type="text/markdown",
url=info.__url__,
author=info.__author__,
author_email="thisisnotmyemail@gmail.com",
packages=[
"helloworld",
"helloworld.utils"
],
# You can take classifiers from https://pypi.org/classifiers/
classifiers=[
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
],
install_requires=[
"termcolor < 2.0.0"
],
extras_require={
"dev": [
"pytest",
"pydocstyle",
"pycodestyle",
# docs:
"sphinx",
"m2r2",
"sphinx_rtd_theme"
]
}
)