-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
56 lines (52 loc) · 1.49 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
import os
import re
from tempfile import mkstemp
from setuptools import setup, find_packages
from pkg_resources import parse_requirements
PACKAGE_NAME = 'h3ds'
PACKAGE_PATH = PACKAGE_NAME
VERSION_FILE_PATH = os.path.join(PACKAGE_PATH, '__init__.py')
REQUIREMENTS_FILE_PATH = 'requirements.txt'
# Read __version__ from VERSION_FILE_PATH
exec(open(VERSION_FILE_PATH).read())
with open("README.md", "r", encoding="utf-8") as fh:
LONG_DESCRIPTION = fh.read()
# Build setup
setup(
name=PACKAGE_NAME,
version=__version__,
author='Crisalix SA',
author_email='[email protected]',
description='Python interface for H3DS dataset',
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
url='https://test.pypi.org/project/h3ds/',
project_urls={
'Bug Tracker': 'https://github.com/CrisalixSA/h3ds/issues',
'Project Website': 'https://crisalixsa.github.io/h3d-net/'
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
package_dir={PACKAGE_NAME: PACKAGE_PATH},
packages=find_packages(
include=[PACKAGE_NAME],
exclude=[],
),
install_requires=[
'toml',
'requests',
'trimesh',
'Pillow',
'tqdm',
'opencv-python',
'scipy',
'matplotlib',
'gdown'
],
package_data={
'': ['config_v1.toml', 'config_v2.toml']
}
)