-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (48 loc) · 1.73 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Sep 18 23:38:28 2018
@author: grinse
"""
import setuptools
from __NIP_META__ import __author__, __author_email__, __description__, __License__, __Operating_system__, __Programming_language__,__title__, __url__, __version__
# If you want to incorporate c-files
# For the structure of an c-file -> Check resource files
#from distutils.core import Extension
# define the extension module
# cos_module = Extension('cos_module', sources=['External_code/cos_module.c'])
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
# ext_mdoules = [External_code/cos_module], <- for incorporating c-files
name=__title__,
version=__version__,
author=__author__,
author_email=__author_email__,
description=__description__,
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=[
'numpy>=1.16',
'scipy',
'tifffile',
'imageio',
'matplotlib',
'napari',
'ruamel.yaml',
'tkinterdnd2',
'clize',
],
# 'python-bioformats', 'javabridge' are removed from the requirements to make the basic installation simple.
#dependency_links=['https://github.com/blink1073/tifffile'],
#url="https://test.pypi.org/legacy/", # <- Add gitHubLink here!
include_package_data=True,
#package_dir = {'':'NanoImagingPack'},
package_data={'NanoImagingPack':['resources/*', 'examples/*', 'sim/*']},
packages=setuptools.find_packages(),
classifiers=[
__Programming_language__,
__License__,
__Operating_system__,
],
)