-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
52 lines (43 loc) · 1.55 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from glob import glob
from os.path import basename, splitext
from setuptools import find_packages, setup
with open("README.rst") as readme_file:
readme = readme_file.read()
with open("HISTORY.rst") as history_file:
history = history_file.read()
requirements = ["construct", "cryptography >= 39", "pyasn1", "pyasn1_modules >= 0.2.6"]
setup_requirements = ["pytest-runner"]
test_requirements = ["pytest"]
setup(
author="Joel Maher",
author_email="jmaher@mozilla.com",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
description="Utilities to support code signing Windows executable files",
install_requires=requirements,
license="MPL2.0",
long_description=readme + "\n\n" + history,
include_package_data=True,
keywords="winsign",
name="winsign",
packages=find_packages("src"),
package_dir={"": "src"},
py_modules=[splitext(basename(path))[0] for path in glob("src/*.py")],
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/mozilla/winsign",
version="2.2.4",
zip_safe=False,
entry_points={"console_scripts": ["winsign = winsign.cli:main"]},
)