-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
62 lines (57 loc) · 1.72 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
62
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
version = "1.0.0"
with open("docs/About.rst", "r") as fh:
long_description = fh.read()
with open("docs/Changelog.rst", "r") as fh:
long_description += "\n\n"
long_description += "Changelog\n"
long_description += "=========\n\n"
long_description += fh.read()
setup(
name="senaite.instruments",
version=version,
description="Import and export instrument adapters for SENAITE",
long_description=long_description,
# long_description_content_type="text/markdown",
# Get more strings from
# http://pypi.python.org/pypi?:action=list_classifiers
classifiers=[
"Framework :: Plone",
"Framework :: Zope2",
"Programming Language :: Python",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
],
keywords="",
author="SENAITE Foundation",
author_email="hello@senaite.com",
url="https://github.com/senaite/senaite.instruments",
license="GPLv2",
packages=find_packages("src", exclude=["ez_setup"]),
package_dir={"": "src"},
namespace_packages=["senaite"],
include_package_data=True,
zip_safe=False,
install_requires=[
"setuptools",
"senaite.api",
"senaite.core",
"xlrd",
# openpyxl >= 3.0.0 does not support Python 2.x anymore
"openpyxl==2.6.4",
],
extras_require={
"test": [
"Products.PloneTestCase",
"plone.app.testing",
"robotsuite",
"unittest2",
]
},
entry_points="""
# -*- Entry points: -*-
[z3c.autoinclude.plugin]
target = plone
""",
)