-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
67 lines (58 loc) · 2.12 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
# -*- coding: utf-8 -*-
# :Project: metapensiero.asyncio.transaction -- Handle coroutines from synchronous functions or methods (like special methods)
# :Created: dom 09 ago 2015 12:57:35 CEST
# :Author: Alberto Berti <[email protected]>
# :License: GNU General Public License version 3 or later
# :Copyright: Copyright (C) 2015 Alberto Berti
#
import os
from codecs import open
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.rst'), encoding='utf-8') as f:
CHANGES = f.read()
with open(os.path.join(here, 'version.txt'), encoding='utf-8') as f:
VERSION = f.read().strip()
setup(
name="metapensiero.asyncio.transaction",
version=VERSION,
url="https://github.com/azazel75/metapensiero.asyncio.transaction",
description="Handle coroutines from synchronous functions or methods "
"(like special methods)",
long_description=README + u'\n\n' + CHANGES,
author="Alberto Berti",
author_email="[email protected]",
license="GPLv3+",
classifiers=[
'Development Status :: 4 - Beta',
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License (GPL)",
],
keywords='',
packages=['metapensiero.asyncio.' + pkg
for pkg in find_packages('src/metapensiero/asyncio')],
package_dir={'': 'src'},
namespace_packages=['metapensiero', 'metapensiero.asyncio'],
install_requires=['setuptools'],
extras_require={
'dev': [
'metapensiero.tool.bump_version',
'distutils'
],
'test': [
'pytest',
'pytest-asyncio'
]
},
setup_requires=['pytest-runner'],
tests_require=[
'metapensiero.asyncio.transaction[test]'
],
)