-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (31 loc) · 1.29 KB
/
setup.py
File metadata and controls
36 lines (31 loc) · 1.29 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
#!/usr/bin/env python
import sys
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
if sys.version_info < (2, 6):
raise NotImplementedError("Sorry, you need at least Python 2.6 or Python 3.2+ to use sqlitemodel.")
import sqlitemodel
with open('README.rst', 'r') as f:
longDesc = f.read()
setup(name='sqlitemodel',
version=sqlitemodel.__version__,
description='Wrapper for the sqlite3 database that enables you to create models you can easily query, save and update.',
long_description=longDesc,
author='Rene Tanczos',
author_email='gravmatt@gmail.com',
url='https://github.com/gravmatt/sqlitemodel',
packages = find_packages(),
license='MIT',
platforms=['MacOSX', 'UNIX/Linux'],
classifiers=['Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3'
],
)