This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
58 lines (53 loc) · 1.46 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
57
58
from setuptools import setup, find_packages
from setuptools.command.install import install
import warnings
class CustomInstallCommand(install):
def run(self):
install.run(self)
message = """
============================================================
Thank you for installing vesuvius!
To complete the setup, please run the following command:
vesuvius.accept_terms --yes
This will display the terms and conditions to be accepted.
============================================================
"""
warnings.warn(message, UserWarning)
setup(
name='vesuvius',
version='0.1.8',
package_dir = {"": "src"},
packages=find_packages(where="src"),
install_requires=[
'numpy',
'requests',
'aiohttp',
'fsspec',
'tensorstore',
'zarr',
'tqdm',
'lxml',
'nest_asyncio',
'pynrrd',
'pyyaml',
'Pillow'
],
python_requires='>=3.8',
include_package_data=True,
package_data={
'': ['src/vesuvius/configs/*.yaml'],
},
entry_points={
'console_scripts': [
'vesuvius.accept_terms=vesuvius.setup.accept_terms:main',
],
},
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
cmdclass={
'install': CustomInstallCommand,
},
)