Skip to content

Commit 093e8ed

Browse files
committed
add setup.py
1 parent 8428f14 commit 093e8ed

File tree

2 files changed

+59
-0
lines changed

2 files changed

+59
-0
lines changed

setup.cfg

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[egg_info]
2+
tag_build =
3+
tag_date = 0

setup.py

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
#!/usr/bin/env python
2+
3+
from io import open
4+
from setuptools import setup
5+
6+
"""
7+
:authors: co0lc0der
8+
:license: MIT, see LICENSE file
9+
:copyright: (c) 2022 co0lc0der
10+
"""
11+
12+
version = '0.3.0'
13+
14+
with open('README.md', encoding='utf-8') as f:
15+
long_description = f.read()
16+
17+
setup(
18+
name='simple-query-builder',
19+
version=version,
20+
21+
author='co0lc0der',
22+
author_email='[email protected]',
23+
24+
description=(
25+
u'This is a small easy-to-use component for working with a database. '
26+
u'It provides some public methods to compose SQL queries and manipulate data. '
27+
u'Each SQL query is prepared and safe.'
28+
),
29+
long_description=long_description,
30+
long_description_content_type='text/markdown',
31+
32+
url='https://github.com/co0lc0der/simple-query-builder-python',
33+
download_url='https://github.com/co0lc0der/simple-query-builder-python/archive/v{}.zip'.format(
34+
version
35+
),
36+
37+
license='MIT, see LICENSE.md file',
38+
39+
packages=['simple-query-builder'],
40+
install_requires=['sqlite3', 'Union'],
41+
42+
classifiers=[
43+
'License :: OSI Approved :: MIT License',
44+
'Operating System :: OS Independent',
45+
'Intended Audience :: End Users/Desktop',
46+
'Intended Audience :: Developers',
47+
'Programming Language :: Python',
48+
'Programming Language :: Python :: 3',
49+
'Programming Language :: Python :: 3.7',
50+
'Programming Language :: Python :: 3.8',
51+
'Programming Language :: Python :: 3.9',
52+
'Programming Language :: Python :: 3.10',
53+
'Programming Language :: Python :: Implementation :: PyPy',
54+
'Programming Language :: Python :: Implementation :: CPython',
55+
]
56+
)

0 commit comments

Comments
 (0)