-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
81 lines (72 loc) · 2.77 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
import os
import setuptools
def get_version():
root = os.path.dirname(__file__)
changelog = os.path.join(root, "CHANGELOG")
with open(changelog) as f:
return f.readline().strip()
def get_long_description():
root = os.path.dirname(__file__)
with open(os.path.join(root, "README.md")) as f:
description = f.read()
description += "\n\nChangelog\n=========\n\n"
with open(os.path.join(root, "CHANGELOG")) as f:
description += f.read()
return description
setuptools.setup(
name="remote-exec-api",
version=get_version(),
url="https://github.com/remote-cli/remote",
author="Evgeny Barbashov",
license="BSD-2-CLAUSE",
description="A CLI to sync codebases and execute commands remotely",
long_description=get_long_description(),
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved",
"License :: OSI Approved :: BSD License",
"Operating System :: Unix",
"Operating System :: POSIX :: Linux",
"Environment :: Console",
"Environment :: MacOS X",
"Topic :: Software Development",
],
python_requires=">=3.9",
package_dir={"": "src"},
packages=["remote", "remote.configuration"],
include_package_data=True,
package_data={"remote": ["py.typed"]},
entry_points={
"console_scripts": [
"remote = remote.entrypoints:remote",
"remote-add = remote.entrypoints:remote_add",
"remote-delete = remote.entrypoints:remote_delete",
"remote-explain = remote.entrypoints:remote_explain",
"remote-host = remote.entrypoints:remote_host",
"remote-ignore = remote.entrypoints:remote_ignore",
"remote-init = remote.entrypoints:remote_init",
"remote-pull = remote.entrypoints:remote_pull",
"remote-push = remote.entrypoints:remote_push",
"remote-quick = remote.entrypoints:remote_quick",
"remote-set = remote.entrypoints:remote_set",
"mremote = remote.entrypoints:mremote",
"mremote-push = remote.entrypoints:mremote_push",
],
},
install_requires=[
"click>=8.1.7,<9",
"toml>=0.10.2,<0.11",
"pydantic>=2.6.1,<3",
"watchdog>=4.0.0,<5",
],
)