-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (38 loc) · 1.41 KB
/
setup.py
File metadata and controls
46 lines (38 loc) · 1.41 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
import os
from setuptools import setup, find_packages
from calyx_lib import constants
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'requirements.txt')) as f:
REQUIRED = list(filter(None, map(str.strip, f)))
print('REQUIRED = {}'.format(REQUIRED))
with open(os.path.join(here, 'README.md'), encoding='utf8') as f:
LONG_DESCRIPTION = f.read()
CLASSIFIERS = [
# https://pypi.org/classifiers/
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
# 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
]
setup(
name=constants.PACKAGE_NAME,
version=constants.VERSION_PYPI,
description=constants.DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
url=constants.GITHUB_URL,
author_email="ra1ny_yuki@outlook.com",
author="Ra1ny_Yuki",
classifiers=CLASSIFIERS,
install_requires=REQUIRED,
package_data={
constants.PACKAGE_NAME: ['lang/*.yml']
},
packages=find_packages(exclude=['tests', '*.tests', '*.tests.*', 'tests.*'])
)