Skip to content

Commit 6b82e16

Browse files
committed
added setup.py
Former-commit-id: ca167c2
1 parent d6949f0 commit 6b82e16

File tree

3 files changed

+47
-2
lines changed

3 files changed

+47
-2
lines changed

Diff for: .gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ utilities/__pycache__/QuickNII_functions.cpython-37.pyc
1414
DeepSlice/metadata/volumes/*.nii
1515
DeepSlice/metadata/weights/*.h5
1616
DeepSlice/metadata/weights/*.hdf5
17-
setup.py
18-
setup.cfg
17+
1918
dist
2019
# Distribution / packaging
2120
bin/

Diff for: setup.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[metadata]
2+
description-file = README.md

Diff for: setup.py

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
from distutils.core import setup
2+
from setuptools import find_packages
3+
from pathlib import Path
4+
5+
6+
7+
this_directory = Path(__file__).parent
8+
long_description = (this_directory / "README.md").read_text()
9+
10+
setup(
11+
name='DeepSlice',
12+
packages=find_packages(),
13+
version='1.0.6',
14+
license='GPL-3.0',
15+
description='A package to align histology to 3D brain atlases',
16+
long_description=long_description,
17+
long_description_content_type='text/markdown',
18+
author='DeepSlice Team',
19+
package_data={'DeepSlice': ['metadata/volumes/placeholder.txt', 'metadata/config.json','metadata/weights/*.txt']},
20+
include_package_data=True,
21+
author_email='[email protected]',
22+
url='https://github.com/PolarBean/DeepSlice',
23+
download_url='https://github.com/PolarBean/DeepSlice/archive/refs/tags/1.0.6.tar.gz',
24+
keywords=['histology', 'brain', 'atlas', 'alignment'],
25+
install_requires=[
26+
'numpy',
27+
'scikit-learn',
28+
'scikit-image',
29+
'tensorflow==1.15.0',
30+
'h5py==2.10.0',
31+
'typing',
32+
'pandas==1.3.5',
33+
'requests',
34+
'protobuf==3.20'
35+
],
36+
classifiers=[
37+
'Development Status :: 5 - Production/Stable',
38+
'Intended Audience :: Science/Research',
39+
'Topic :: Scientific/Engineering :: Bio-Informatics',
40+
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
41+
'Programming Language :: Python :: 3.7',
42+
],
43+
44+
)

0 commit comments

Comments
 (0)