-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
51 lines (41 loc) · 1.56 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
# pylint: disable=missing-docstring
# Copyright (c) 2019 Alexander Todorov <atodorov@MrSenko.com>
# Licensed under the GPL 3.0: https://www.gnu.org/licenses/gpl-3.0.txt
from setuptools import setup, find_packages
def get_long_description():
with open('README.rst', 'r') as file:
return file.read()
def get_install_requires(path):
requires = []
with open(path, 'r') as file:
for line in file:
if line.startswith('-r '):
continue
requires.append(line.strip())
return requires
setup(
name='kiwitcms-tenants',
version='1.0',
description='Multi-tenant support for Kiwi TCMS',
long_description=get_long_description(),
author='Kiwi TCMS',
author_email='info@kiwitcms.org',
url='https://github.com/kiwitcms/tenants/',
license='GPLv3+',
install_requires=get_install_requires('requirements.txt'),
include_package_data=True,
packages=find_packages(exclude=['test_project*', '*.tests']),
zip_safe=False,
entry_points={"kiwitcms.plugins": ["kiwitcms_tenants = tcms_tenants"]},
classifiers=[
'Framework :: Django',
'Development Status :: 5 - Production/Stable',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
],
)