-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
54 lines (49 loc) · 1.73 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
import re
from skbuild import setup
from setuptools import find_packages
with open("cyminhook/__init__.py", "r", encoding="utf-8") as f:
version = re.search(r'(?m)^__version__ = "([a-zA-Z0-9.-]+)"', f.read()).group(1)
with open("README.rst", "r", encoding="utf-8") as f:
long_description = f.read()
setup(
name="cyminhook",
version=version,
author="Segev Finer",
author_email="[email protected]",
description="Hook functions on Windows using MinHook",
long_description=long_description,
long_description_content_type="text/x-rst",
url="https://github.com/segevfiner/cyminhook",
project_urls={
"Documentation": "https://segevfiner.github.io/cyminhook/",
"Issue Tracker": "https://github.com/segevfiner/cyminhook/issues",
},
license="MIT",
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Win32 (MS Windows)",
"Intended Audience :: Developers",
"Topic :: Security",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Cython",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
keywords="MinHook",
zip_safe=False,
packages=find_packages(),
python_requires='>=3.6',
extras_require={
"dev": [
"sphinx==5.*",
],
},
)