forked from DeepTrackAI/DeepTrack2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (30 loc) · 1.04 KB
/
setup.py
File metadata and controls
34 lines (30 loc) · 1.04 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
import setuptools
import subprocess
import pkg_resources
with open("README.md", "r") as fh:
long_description = fh.read()
required = ["tensorflow", "numpy", "scipy"]
installed = [pkg.key for pkg in pkg_resources.working_set]
if (
not "tensorflow" in installed
or pkg_resources.working_set.by_key["tensorflow"].version[0] == "2"
):
required.append("tensorflow_addons")
setuptools.setup(
name="deeptrack", # Replace with your own username
version="0.11.3",
author="Benjamin Midtvedt",
author_email="benjamin.midtvedt@physics.gu.se",
description="A deep learning oriented microscopy image simulation package",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/softmatterlab/DeepTrack-2.0/",
install_requires=required,
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
)