This repository has been archived by the owner on Oct 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
86 lines (78 loc) · 1.94 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
import codecs
import os
from setuptools import setup
name = 'cryptoyaml'
HERE = os.path.abspath(os.path.dirname(__file__))
def read(*parts):
"""
Build an absolute path from *parts* and and return the contents of the
resulting file. Assume UTF-8 encoding.
"""
with codecs.open(os.path.join(HERE, *parts), "rb", "utf-8") as f:
return f.read()
LONG = (
read("README.rst") + "\n\n" +
"Release Information\n" +
"===================\n\n" +
read("CHANGES.rst") + "\n\n"
)
setup(
name=name,
version_format='{tag}.{commitcount}+{gitsha}',
url='https://github.com/getsenic/senic.cryptoyaml',
author='Senic GmbH',
author_email='tom@senic.com',
description='A python library to manage encrypted YAML files.',
license='BSD 2-Clause License',
long_description=LONG,
classifiers=[
"Programming Language :: Python",
],
packages=[name],
include_package_data=True,
package_dir={name: 'cryptoyaml'},
package_data={
name: [
'.coveragerc',
'tests/*.py',
'tests/data/*.*',
],
},
zip_safe=False,
setup_requires=[
'setuptools-git >= 0',
'setuptools-git-version'
],
install_requires=[
'click',
'PyYAML',
'cryptography',
],
extras_require={
'development': [
'devpi-client',
'docutils',
'pyflakes',
'flake8',
'mock',
'pbr',
'pdbpp',
'pep8 < 1.6',
'pytest',
'pytest-cov',
'pytest-flakes',
'pytest-pep8',
'pytest-sugar',
'repoze.sphinx.autointerface',
'setuptools-git',
'Sphinx',
'tox',
],
},
entry_points="""
[console_scripts]
cryptoyaml = cryptoyaml.commands:main
[pytest11]
cryptoyaml = cryptoyaml.testing
""",
)