This repository has been archived by the owner on Mar 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
61 lines (47 loc) · 1.56 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
from __future__ import print_function
import sys
from os import path
from setuptools import setup, find_packages
here = path.abspath(path.dirname(__file__))
try:
import pypandoc
description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
print("Missing pandoc module to build the README.", file=sys.stderr)
description = ''
with open(path.join(here, 'baconql', 'VERSION'), 'rb') as f:
version = f.read().decode('ascii').strip()
setup(
name='baconql',
version=version,
description='Python SQL without ORM & easy migrations',
long_description=description,
url='https://github.com/lsenta/baconql',
author='lsenta',
# author_email='',
# maintainer='',
# maintainer_email='',
# license='',
packages=find_packages(),
package_dir={'baconql.test': 'test'},
include_package_data=True,
entry_points={
'console_scripts': ['baconql = baconql.cli:execute']
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
# TODO: Add Topic :: etc
# TODO: Add License :: etc
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
],
install_requires=[
'SQLAlchemy>=1.0',
'click>=6.6',
'Jinja2>=2.8',
'sqlparse>=0.1'
]
)