-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·45 lines (43 loc) · 1.1 KB
/
setup.py
File metadata and controls
executable file
·45 lines (43 loc) · 1.1 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Setup module.
"""
from setuptools import setup, find_packages
AUTHORS = {
'patralla@gmail.com': 'Patrick Allain'
}
GITHUB = dict(
user='Patouche',
repository='pydocktors'
)
VERSION = open('VERSION').readline().strip()
setup(
name=GITHUB['repository'],
version=VERSION,
packages=find_packages(exclude=['it.tests', 'tests', 'examples']),
description='Simple docker decorator',
long_description=open('README.rst').read(),
author=', '.join(AUTHORS.values()),
author_email=', '.join(AUTHORS.keys()),
install_requires=[
'docker>=2.0.0'
],
url='https://github.com/{user}/{repository}'.format(
user=GITHUB['user'],
repository=GITHUB['user'],
),
download_url='https://github.com/{user}/{repository}/archive/v{version}.tar.gz'.format(
user=GITHUB['user'],
repository=GITHUB['user'],
version=VERSION
),
keywords=[
'docker',
'decorator',
'testing',
'example'
],
classifiers=[],
license=open('LICENSE').readline().strip(),
)