forked from anthrotype/verify-sigs
-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
executable file
·56 lines (45 loc) · 1.8 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# +----------------------------------------------------------------------------
# | Imports
# +----------------------------------------------------------------------------
from setuptools import setup
import release
# +----------------------------------------------------------------------------
# | Definition of the scripts
# +----------------------------------------------------------------------------
scripts = ["bin/fingerprint.py", "bin/print_pe_certs.py"]
# +----------------------------------------------------------------------------
# | Definition of the dependencies
# +----------------------------------------------------------------------------
dependencies = ['pyasn1>0.4', 'pyopenssl']
extra_dependencies = {}
dependency_links = []
# +----------------------------------------------------------------------------
# | Extensions in the build operations (test)
# +----------------------------------------------------------------------------
CMD_CLASS = {
}
# Extract the long description from README.md
README = open('README.md', 'rt').read()
# +----------------------------------------------------------------------------
# | Definition of the setup
# +----------------------------------------------------------------------------
setup(
name=release.name,
packages=['verifysigs', 'verifysigs.utils', 'verifysigs.asn1utils'],
scripts=scripts,
install_requires=dependencies,
extras_require=extra_dependencies,
dependency_links=dependency_links,
version=release.version,
license=release.licenseName,
description=release.description,
platforms=release.platforms,
author=release.author,
author_email=release.author_email,
url=release.url,
keywords=release.keywords,
long_description=README,
cmdclass=CMD_CLASS,
)