forked from plone/guillotina
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
92 lines (84 loc) · 2.5 KB
/
setup.py
File metadata and controls
92 lines (84 loc) · 2.5 KB
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
# -*- coding: utf-8 -*-
from setuptools import find_packages
from setuptools import setup
long_description = open('README.rst').read() + '\n'
changelog = open('CHANGELOG.rst').read()
found = 0
for line in changelog.splitlines():
if len(line) > 15 and line[-1] == ')' and line[-4] == '-':
found += 1
if found >= 20:
break
long_description += '\n' + line
long_description += '''...
You are seeing a truncated changelog.
You can read the `changelog file <https://github.com/plone/guillotina/blob/master/CHANGELOG.rst>`_
for a complete list.
'''
setup(
name='guillotina',
version=open('VERSION').read().strip(),
description='asyncio REST API Resource database', # noqa
long_description=long_description,
keywords=['asyncio', 'REST', 'Framework', 'transactional'],
author='Ramon Navarro Bosch & Nathan Van Gheem',
author_email='ramon@plone.org',
classifiers=[
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Topic :: Internet :: WWW/HTTP',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries :: Python Modules'
],
url='https://github.com/plone/guillotina',
license='BSD',
setup_requires=[
'pytest-runner',
],
zip_safe=True,
include_package_data=True,
package_data={'': ['*.txt', '*.rst', 'guillotina/documentation/meta/*.json']},
packages=find_packages(),
install_requires=[
'aiohttp>=3.0.0,<3.5.0',
'jsonschema',
'python-dateutil',
'pycryptodome',
'setuptools',
'ujson',
'zope.interface',
'aioconsole',
'pyjwt',
'asyncpg',
'cffi',
'PyYAML',
'aiotask_context'
],
extras_require={
'test': [
'pytest<=3.1.0',
'docker',
'backoff',
'psycopg2',
'pytest-asyncio>=0.8.0,<0.10.0',
'pytest-cov<=2.6.0',
'coverage>=4.0.3',
'pytest-docker-fixtures'
],
'docs': [
'sphinx',
'recommonmark',
'sphinxcontrib-httpdomain',
'sphinxcontrib-httpexample',
'sphinx-guillotina-theme',
'sphinx-autodoc-typehints'
],
},
entry_points={
'console_scripts': [
'guillotina = guillotina.commands:command_runner',
'g = guillotina.commands:command_runner'
]
}
)