forked from lovesegfault/beautysh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (41 loc) · 1.65 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
"""Setup for beautysh - A bash beautifier for the masses."""
from setuptools import setup
def get_version(file_name='beautysh/__init__.py'):
"""Get version info from __init__."""
with open(file_name) as v_file:
for line in v_file:
if "__version__" in line:
return eval(line.split('=')[-1])
with open("README.md", "r") as fh:
DESCRIPTION = fh.read()
setup(
name='beautysh',
packages=['beautysh'],
version=get_version(),
description='A Bash beautifier for the masses.',
long_description=DESCRIPTION,
long_description_content_type="text/markdown",
license='MIT',
author='Bernardo Meurer',
author_email='[email protected]',
url='https://github.com/bemeurer/beautysh',
download_url='https://github.com/bemeurer/beautysh/tarball/'+get_version(),
keywords=['beautify', 'bash', 'shell', 'beautifier', 'script', 'auto'],
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Filters",
"Topic :: Text Processing :: Linguistic",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Utilities"
],
entry_points={'console_scripts': ['beautysh = beautysh.beautysh:main']},
py_modules=['beautysh']
)