generated from ZappaBoy/python-cli-tool-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (39 loc) · 3.29 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
# -*- coding: utf-8 -*-
from setuptools import setup
packages = \
['copycat',
'copycat.models',
'copycat.models.history',
'copycat.models.move',
'copycat.services',
'copycat.shared',
'copycat.shared.exceptions',
'copycat.shared.utils',
'copycat.tool']
package_data = \
{'': ['*']}
install_requires = \
['joblib>=1.4.2,<2.0.0',
'pyautogui>=0.9.54,<0.10.0',
'pydantic>=2.4.2,<3.0.0',
'pynput>=1.7.7,<2.0.0',
'ttkthemes>=3.2.2,<4.0.0']
entry_points = \
{'console_scripts': ['copycat = copycat:main', 'test = pytest:main']}
setup_kwargs = {
'name': 'copycat',
'version': '0.1.0',
'description': 'A tool that record and replay keybaord and mouse macro.',
'long_description': '# Copycat\n\n`copycat` is a tool that record and replay mouse and keyboard macro.\n\n## Demo\n\nThis is a short demo of the tool:\n\nhttps://github.com/user-attachments/assets/4ce6616e-8fa1-4efb-8c31-f31bfe8e827c\n\n## Installation\n\nThis tool uses [poetry](https://python-poetry.org/) to manage dependencies and packaging. To install all the\ndependencies simply run:\n\n``` shell\npoetry install\n```\n\n## Usage\n\nYou can run the tool using poetry:\n\n``` shell\npoetry run copycat --help\n```\n\nOr you can run the tool using python:\n\n``` shell\npython -m copycat --help\n```\n\nOr you can run the tool directly from the directory or add it to your path:\n\n``` shell\ncopycat --help\n```\n\n```shell\nusage: copycat [-h] [--verbose] [--debug] [--quiet | --no-quiet | -q] [--version] [--gui] [--theme THEME] [--speed SPEED] [--reply REPLY]\n\nCopycat is a tool that record and replay mouse and keyboard macro.\n\noptions:\n -h, --help show this help message and exit\n --verbose, -v Increase verbosity. Use more than once to increase verbosity level (e.g. -vvv).\n --debug Enable debug mode.\n --quiet, --no-quiet, -q\n Do not print any output/log\n --version, -V Show version and exit.\n --gui Run the tool in GUI mode.\n --theme THEME, -t THEME\n Set the "ttkthemes" GUI theme. (Default: equilux)\n --speed SPEED, -s SPEED\n Speed of the macro playback. (Default: 1.0)\n --reply REPLY, -r REPLY\n Define macro name to reply.\n```\n\n## Development\n\n### Testing\n\nTo run the tests simply run:\n\n``` shell\npoetry run test\n```\n\n### Update `setup.py`\n\nTo update the `setup.py` file with the latest dependencies and versions run:\n\n``` shell\npoetry run poetry2setup > setup.py\n```\n\n### Acknowledgements\n\nThis project was generated using powerful tools and libraries such as [poetry](https://python-poetry.org/),\n[pydantic](https://docs.pydantic.dev/latest/), [pytest](https://docs.pytest.org/en/stable/) and more, I simply put the\npieces together. Please check and support all the tools and libraries used in this project.\n',
'author': 'ZappaBoy',
'author_email': '[email protected]',
'maintainer': 'ZappaBoy',
'maintainer_email': '[email protected]',
'url': 'None',
'packages': packages,
'package_data': package_data,
'install_requires': install_requires,
'entry_points': entry_points,
'python_requires': '>=3.11,<3.12',
}
setup(**setup_kwargs)