forked from zaiev/snaql
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (45 loc) · 1.55 KB
/
setup.py
File metadata and controls
50 lines (45 loc) · 1.55 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
47
48
49
50
# coding: utf-8
import os
import sys
from shutil import rmtree
from setuptools import setup, find_packages, Command
# TODO Check into GitHUB actions to run the tests on pull request.
DESCRIPTION = 'SNAQL (Templated SQL) with the ability to pull data.'
HERE_PATH = os.path.dirname(os.path.abspath(__file__))
VERSION = '0.2.1'
try:
with open(os.path.join(HERE_PATH, 'README.md')) as f:
long_description = '\n' + f.read()
except IOError:
long_description = DESCRIPTION
setup(
name='jinjaql',
version=VERSION,
author='Richard Foley and David Smit (based on the work of Roman Zaiev)',
author_email='david.d.smit@gmail.com',
packages=find_packages(),
license='MIT',
url='https://github.com/RichFoley/jinjaql',
description='Transparant *QL usage without ORM',
long_description=DESCRIPTION,
long_description_content_type='text/markdown',
include_package_data=True,
install_requires=[
'Jinja2>=2.9.5', # TODO Check if a different version needs to be pinned
'schema>=0.6.5',
],
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries :: Python Modules',
],
# cmdclass={
# 'upload': UploadCommand,
# },
exclude_package_data={"": ["*GKN*"]}
)