-
Notifications
You must be signed in to change notification settings - Fork 119
Expand file tree
/
Copy pathsetup.py
More file actions
48 lines (43 loc) · 1.43 KB
/
setup.py
File metadata and controls
48 lines (43 loc) · 1.43 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
46
47
48
import os
import setuptools
import sys
from get_pypi_latest_version import GetPyPiLatestVersion
os.environ["PYTHONIOENCODING"] = "utf-8"
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
MODULE_NAME = "ok-script"
obtainer = GetPyPiLatestVersion()
latest_version = obtainer(MODULE_NAME)
VERSION_NUM = obtainer.version_add_one(latest_version, add_patch=True)
print(f'latest_version is {latest_version} new version is {VERSION_NUM}')
setuptools.setup(
name=MODULE_NAME,
version=VERSION_NUM,
author="ok-oldking",
author_email="firedcto@gmail.com",
description="Automation with Computer Vision for Python",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ok-oldking/ok-script",
packages=setuptools.find_packages(exclude=['tests', 'docs']),
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
],
install_requires=[
'pywin32>=306',
'pyappify>=1.0.2',
'PySide6-Fluent-Widgets==1.8.3',
'typing-extensions>=4.11.0',
'requests>=2.32.3',
'psutil>=6.0.0',
'pydirectinput==1.0.4',
'pycaw==20240210',
'mouse==0.7.1'
],
python_requires='==3.12.*',
zip_safe=False,
)