-
-
Notifications
You must be signed in to change notification settings - Fork 145
/
setup.py
115 lines (110 loc) · 3.93 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# -*- coding: utf-8 -*-
#
# This file is part of SENAITE.CORE.
#
# SENAITE.CORE is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright 2018-2024 by it's authors.
# Some rights reserved, see README and LICENSE.
from setuptools import setup
from setuptools import find_packages
version = "2.6.0"
setup(
name="senaite.core",
version=version,
description="SENAITE LIMS CORE",
long_description=open("README.rst").read() + "\n" +
open("CHANGES.rst").read() + "\n",
# Get more strings from
# http://pypi.python.org/pypi?:action=list_classifiers
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Plone",
"Framework :: Zope2",
"Programming Language :: Python",
],
keywords=["senaite", "lims", "opensource"],
author="RIDING BYTES & NARALABS",
author_email="[email protected]",
url="https://github.com/senaite/senaite.core",
license="GPLv2",
package_dir={"": "src"},
# packages=["bika", "bika.lims", "senaite", "senaite.core"],
packages=find_packages(where="src", include=("senaite*", "bika*")),
namespace_packages=["bika", "senaite"],
include_package_data=True,
zip_safe=False,
install_requires=[
"collective.monkeypatcher",
"magnitude",
"plone.api",
"plone.app.dexterity",
"plone.app.iterate",
"plone.app.referenceablebehavior",
"plone.app.relationfield",
"plone.app.z3cform",
"plone.jsonapi.core",
"plone.resource",
"plone.subrequest",
"setuptools",
# Products
"Products.ATContentTypes",
"Products.CMFEditions",
"Products.DataGridField",
"Products.contentmigration",
# tinycss2 >= 1.0.0 does not support Python 2.x anymore
"tinycss2<1.0.0",
# Python 2/3 compatibility library: https://six.readthedocs.io/
"six",
# Fix Scrutinizer (remove after we migrated to Python 3)
# https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst#622-2020-01-02
"Pillow<7.0.0",
# https://pypi.org/project/more-itertools/
"more-itertools<6.0.0",
# cssselect2 0.3.0 does not support Python 2.x anymore
"cssselect2<0.3.0",
# beautifulsoup4 4.9.0 requires "soupsieve<2.0"
"soupsieve<2.0.0",
# TODO: better integrate just the JS files w/o this package
"plone.app.jquerytools",
# "collective.js.jqueryui",
# SENAITE
"senaite.lims",
# openpyxl >= 3.0.0 does not support Python 2.x anymore
"openpyxl==2.6.4",
# Werkzeug >= 2.0.0 does not support Python 2.x anymore
"Werkzeug<2.0.0",
"collective.z3cform.datagridfield",
# pycountry > 18.12.8 does not support Python 2.x anymore
"pycountry==18.12.8",
# et-xmlfile >= 2.0.0 does not support Python 2.x anymore
"et-xmlfile<2.0.0",
],
extras_require={
"test": [
"unittest2",
"plone.app.testing",
]
},
entry_points="""
# -*- Entry points: -*-
[z3c.autoinclude.plugin]
target = plone
[console_scripts]
reindex = senaite.core.scripts:reindex
upgrade-sites = senaite.core.scripts:upgrade_sites
zope-passwd = senaite.core.scripts:zope_passwd
""",
)