-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
51 lines (48 loc) · 1.62 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
from pathlib import Path
from setuptools import find_packages, setup
readme_file = Path(__file__).parent / 'README.md'
if readme_file.exists():
with readme_file.open() as f:
long_description = f.read()
else:
# When this is first installed in development Docker, README.md is not available
long_description = ''
setup(
name='swcc',
description='',
long_description=long_description,
long_description_content_type='text/markdown',
license='Apache 2.0',
author='Kitware, Inc.',
author_email='[email protected]',
keywords='',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python',
],
python_requires='>=3.8',
packages=find_packages(exclude=['tests']),
install_requires=[
'click<9', # celery depends on click<9, pin for now
'click-pathlib',
'django-s3-file-field-client < 1', # v1 has breaking changes
# if you override and install in python 3.7
'importlib_metadata ; python_version < "3.8"',
'openpyxl',
'packaging',
'pandas',
'pydantic>=2', # Using API from v1, but with a specific import from later versions
'pyxdg',
'requests',
'requests-toolbelt',
'rich',
'toml',
'tqdm',
'typing-extensions ; python_version < "3.8"',
],
entry_points={'console_scripts': ['swcc=swcc.cli:main']},
extras_require={'dev': ['factory_boy', 'ipython', 'tox']},
)