-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
66 lines (57 loc) · 2.08 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# -*- coding: utf-8 -*-
"""
Created on Sat Oct 13 16:30:30 2018
@author: shane
"""
import os
from setuptools import find_packages, setup
from ntserv import PY_MIN_STR, __author__, __email__, __title__, __version__
# cd to parent dir of setup.py
os.chdir(os.path.dirname(os.path.abspath(__file__)))
CLASSIFIERS = [
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"Intended Audience :: Healthcare Industry",
"Intended Audience :: Education",
"Development Status :: 3 - Alpha",
"Natural Language :: English",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Framework :: Flake8",
"Framework :: Pytest",
"Operating System :: OS Independent",
"Operating System :: Microsoft :: Windows :: Windows XP",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.11",
"Programming Language :: SQL",
"Programming Language :: Unix Shell",
]
with open("README.rst", encoding="utf-8") as file:
README = file.read()
# NOTE: do we need to include requirements-*.txt in MANIFEST.in ?
with open("requirements.txt", encoding="utf-8") as file:
REQUIREMENTS = file.read().split()
setup(
name=__title__,
author=__author__,
author_email=__email__,
classifiers=CLASSIFIERS,
install_requires=REQUIREMENTS,
python_requires=f">={PY_MIN_STR}",
zip_safe=False,
packages=find_packages(exclude=["tests"]),
include_package_data=True,
platforms=["linux", "darwin", "win32"],
description="Server for our API and database",
long_description=README,
long_description_content_type="text/x-rst",
url="https://github.com/gamesguru/nutra-server",
license="GPL v3",
version=__version__,
)