forked from Nance-Lab/diff_classifier
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·39 lines (34 loc) · 1.03 KB
/
setup.py
File metadata and controls
executable file
·39 lines (34 loc) · 1.03 KB
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
from setuptools import setup, find_packages
import setuptools.command.build_py
import os
# try:
# import fijibin
# except:
# print('Import error. Install Fiji manually.')
ver_file = os.path.join('diff_classifier', 'version.py')
with open(ver_file) as f:
exec(f.read())
PACKAGES = find_packages()
opts = dict(name=NAME,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
url=URL,
packages=PACKAGES,
download_url=DOWNLOAD_URL,
license=LICENSE,
classifiers=CLASSIFIERS,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
platforms=PLATFORMS,
version=VERSION,
install_requires=REQUIRES,
package_data=PACKAGE_DATA)
if __name__ == '__main__':
setup(**opts)
try:
#import fijibin
setup(cmdclass={'build_py': FijiCommand})
except:
print('Import error. Install Fiji manually.')