-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (31 loc) · 1.03 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 os
import sys
from setuptools import setup
# Add project root to system path for import builder module.
project_root = os.path.dirname(__file__)
sys.path.append(project_root)
from builder.package_info import PackageInfo
from builder.setup_preprocess import Preprocess
# Execute preprocess for package building
Preprocess.execute()
pkg_info = PackageInfo()
setup(
name=pkg_info.name,
version=pkg_info.version,
description=pkg_info.description,
long_description=pkg_info.long_description,
long_description_content_type=pkg_info.long_description_content_type,
url=pkg_info.url,
author=pkg_info.author,
author_email=pkg_info.author_email,
license=pkg_info.license,
keywords=pkg_info.keywords,
install_requires=pkg_info.install_requires,
extras_require=pkg_info.extras_require,
packages=pkg_info.packages,
package_dir=pkg_info.package_dir,
package_data=pkg_info.package_data,
classifiers=pkg_info.classifiers,
ext_modules=pkg_info.ext_modules,
cmdclass=pkg_info.cmdclass,
)