-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
26 lines (21 loc) · 847 Bytes
/
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
# setup.py
import os
from packaging_tools.setup_utils import BuildHelper
from setuptools import Extension, dist, find_packages, setup
from setuptools.command.egg_info import egg_info
PACKAGE_NAME = "unicef-dssg"
root_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "./"))
build_helper = BuildHelper()
build_helper.configure_package_root_path(root_path)
setup(
name=PACKAGE_NAME,
cmdclass={},
version=build_helper.get_build_version(PACKAGE_NAME, "0.0.1", "dev"),
include_package_data=False, # this line is required to make "package_data" work correctly
package_data={
PACKAGE_NAME: [*build_helper.get_all_files(PACKAGE_NAME)],
"scripts": [*build_helper.get_all_files("scripts")],
"packaging_tools": [*build_helper.get_all_files("packaging_tools")],
},
install_requires=[],
)