-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
61 lines (53 loc) · 1.83 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
58
59
60
61
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import codecs
from pathlib import Path
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
def read(fname):
file_path = os.path.join(os.path.dirname(__file__), fname)
return codecs.open(file_path, encoding="utf-8").read()
# Add your dependencies in requirements.txt
# Note: you can add test-specific requirements in tox.ini
requirements = []
root = Path(__file__).parent
filename = str(root / "requirements.txt")
with open(filename) as f:
for line in f:
stripped = line.split("#")[0].strip()
if len(stripped) > 0:
requirements.append(stripped)
# https://github.com/pypa/setuptools_scm
#use_scm = {"write_to": "napari_pyclesperanto_assistant/_version.py"}
setup(
name="napari_pyclesperanto_assistant",
version="0.25.0",
author="Robert Haase, Talley Lambert",
author_email="[email protected]",
description="GPU-accelerated image processing in napari using OpenCL",
license="BSD-3-Clause",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/clesperanto/napari_pyclesperanto_assistant",
packages=find_packages(),
include_package_data=True,
python_requires=">=3.9",
install_requires=requirements,
#use_scm_version=use_scm,
setup_requires=["setuptools_scm"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Framework :: napari",
"Intended Audience :: Science/Research",
"Development Status :: 3 - Alpha",
],
entry_points={
"napari.plugin": [
"clEsperanto = napari_pyclesperanto_assistant._napari_plugin",
],
},
)