forked from iapyeh/sshscript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·44 lines (42 loc) · 2.03 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
# ref: https://towardsdatascience.com/create-and-publish-your-own-python-package-ea45bee41cdc
import setuptools
# Reads the content of your README.md into a variable to be used in the setup below
with open("README.rst", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
#download_url="https://github.com/iapyeh/sshscript/archive/refs/tags/0.94.tar.gz",
name='sshscript', # should match the package folder
packages=['sshscript'], # should match the package folder
license='MIT', # should match your chosen license
long_description=long_description,
long_description_content_type="text/x-rst",
author='Hsin Yuan Yeh',
author_email='[email protected]',
url='https://github.com/iapyeh/sshscript',
project_urls = { # Optional
"Bug Tracker": "https://github.com/iapyeh/sshscript/issues"
},
install_requires=['paramiko'], # list all packages that your package uses
keywords=["pypi", "sshscript", "ssh", "paramiko", "subprocess","shell script"], #descriptive meta-data
classifiers=[ # https://pypi.org/classifiers
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Topic :: Software Development :: Code Generators',
'Topic :: Utilities',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'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',
],
entry_points={
'console_scripts':[
'sshscript=sshscript.sshscript:main',
]
}
)