-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
60 lines (54 loc) · 2.02 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
from pathlib import Path
from setuptools import setup
# TODO: auto-version; test_suite; keywords;
# get LICENSE file into sdist (it's in wheel already);
# more long_description? in rST?
# in README point to fixed version, rather than master
THIS_DIR = Path(__file__).parent
REPO_URL = "https://github.com/gnprice/pysh"
def make_readme():
raw = open(THIS_DIR / "README.md").read()
# Make relative URLs absolute, pointing at the repo.
return raw.replace("](./", f"]({REPO_URL}/blob/master/")
long_description = make_readme()
setup(
name="pysh-lib",
version="0.0.2",
description="Pythonically simple alternative to shell scripts and subprocess",
keywords="scripting shell subprocess cli",
long_description=long_description,
long_description_content_type="text/markdown",
author="Greg Price",
author_email="[email protected]",
url="https://github.com/gnprice/pysh",
project_urls={
"Documentation": "https://github.com/gnprice/pysh/blob/master/pysh/README.md",
"Examples": "https://github.com/gnprice/pysh/tree/master/example",
},
license="MIT",
packages=["pysh"],
python_requires=">=3.6",
install_requires=[
"click>=7.0",
],
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Operating System :: Unix",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Environment :: Console",
"Environment :: No Input/Output (Daemon)",
"Environment :: Web Environment",
"Environment :: Other Environment",
# perhaps topics?
],
)