-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
57 lines (54 loc) · 1.54 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
import os
import sys
from setuptools import setup, find_packages
from sys import platform
PACKAGE_NAME = "CloudReg"
DESCRIPTION = "Automatic terabyte-scale cross-modal brain volume registration"
with open("README.md", "r") as f:
LONG_DESCRIPTION = f.read()
AUTHOR = (
"Vikram Chandrashekhar, Daniel Tward",
)
URL = "https://github.com/neurodata/CloudReg"
REQUIRED_PACKAGES = [
"paramiko",
"joblib",
"SimpleITK>=2.0.0",
"boto3",
"tqdm",
"awscli",
"cloud-volume",
"h5py",
"scipy",
"tinybrain",
"tifffile",
"imagedocs",
"mpi4py"
]
PROJECT_PATH = os.path.dirname(os.path.abspath(__file__))
for line in open(os.path.join(PROJECT_PATH, "cloudreg", "__init__.py")):
if line.startswith("__version__ = "):
VERSION = line.strip().split()[2][1:-1]
setup(
name=PACKAGE_NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
author=AUTHOR,
install_requires=REQUIRED_PACKAGES,
url=URL,
license="Apache License 2.0",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Mathematics",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
packages=find_packages(),
include_package_data=True,
)