-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (43 loc) · 1.2 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import setuptools
import os
from src.pkg_name.__version__ import __version__
from src.pkg_name import MODULE_NAME
NAME = f'{MODULE_NAME}'
VERSION = __version__
AUTHOR = 'Aaron Dettmann'
EMAIL = '[email protected]'
DESCRIPTION = 'Short description'
URL = ''
REQUIRES_PYTHON = '>=3.6.0'
REQUIRED = []
README = 'README.rst'
PACKAGE_DIR = 'src/'
LICENSE = 'Apache License 2.0'
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, README), "r") as fp:
long_description = fp.read()
setuptools.setup(
name=NAME,
version=VERSION,
author=AUTHOR,
author_email=EMAIL,
description=DESCRIPTION,
long_description=long_description,
url=URL,
include_package_data=True,
package_dir={'': PACKAGE_DIR},
license=LICENSE,
packages=[NAME],
python_requires=REQUIRES_PYTHON,
install_requires=REQUIRED,
# See: https://pypi.org/classifiers/
classifiers=[
"Programming Language :: Python :: 3",
'Programming Language :: Python :: 3.6',
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
],
)