forked from yhttp/yhttp-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (22 loc) · 645 Bytes
/
setup.py
File metadata and controls
29 lines (22 loc) · 645 Bytes
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
import re
from os.path import join, dirname
from setuptools import setup
# reading package version (same way the sqlalchemy does)
with open(join(dirname(__file__), 'yhttp_devutils', '__init__.py')) as v_file:
package_version = re.compile('.*__version__ = \'(.*?)\'', re.S).\
match(v_file.read()).group(1)
dependencies = [
'pytest',
'redis',
'yhttp',
'yhttp-pony',
]
setup(
name='yhttp_devutils',
version=package_version,
packages=['yhttp_devutils'],
install_requires=dependencies,
url='https://github.com/yhttp/devutils',
author='pylover',
author_email='vahid.mardani@gmail.com',
)