-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (48 loc) · 1.76 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Copyright 2008-2020 The Open Microscopy Environment, Glencoe Software, Inc.
All rights reserved.
Use is subject to license terms supplied in LICENSE.txt
"""
import glob
import os
from setuptools import setup
VERSION = "0.1.0"
url = "https://docs.openmicroscopy.org/latest/omero/developers/Server/FS.html"
packageless = glob.glob("src/*.py", recursive=True)
packageless = [x[4:-3] for x in packageless]
def read(fname):
"""
Utility function to read the README file.
:rtype : String
"""
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="omero-pipeline",
version=VERSION,
description="OMERO.dropbox server extension for pre-upload conversions via seperately installed file converters and post-upload processing via OMERO.scripts",
long_description=read("README"),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
], # Get strings from
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
author="Michael Barrett",
author_email="mjbarrett@mcw.edu",
url=url,
package_dir={"": "src"},
package_data={"": ["schema/*.schema.json"]}
py_modules=packageless,
install_requires=[
"omero-dropbox", # requires omero-py (use wheel for faster installs)
],
python_requires=">=3",
tests_require=["pytest"],
)