-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (41 loc) · 1.11 KB
/
setup.py
File metadata and controls
46 lines (41 loc) · 1.11 KB
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
#!/usr/bin/env python
"""
schemadoc
==========
MySQL documentaiton generatiln tool.
$ schemadoc -h<host> -u<user> -p<password> -D<database>
"""
from setuptools import setup, find_packages
from distutils.util import convert_path
main_ns = {}
ver_path = convert_path('schemadoc/version.py')
with open(ver_path) as ver_file:
exec(ver_file.read(), main_ns)
setup(
name='schemadoc',
version=main_ns['__version__'],
author='Maksym Markov',
author_email='maksym.markov@gmail.com',
url='https://github.com/mmarkov/schema-doc',
description='MySQL Database documentation generator',
long_description=__doc__,
packages=find_packages(),
zip_safe=False,
license='BSD',
install_requires=[
'jinja2',
'PyMySQL',
],
include_package_data=True,
entry_points={
'console_scripts': [
'schema-doc = schemadoc:main',
]
},
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)