This repository was archived by the owner on May 21, 2020. It is now read-only.
forked from husio/python-sqlite3-backup
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (34 loc) · 1.25 KB
/
setup.py
File metadata and controls
39 lines (34 loc) · 1.25 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from distutils.core import setup, Extension
VERSION = '1.2.1'
def long_description():
fd_path = os.path.join(os.path.dirname(__file__), 'README')
if not os.path.isfile(fd_path):
return ''
with open(fd_path) as fd:
return fd.read()
module = Extension('sqlitebck', sources=['src/sqlitebck.c'],
libraries=['sqlite3'])
setup(name='sqlitebck',
version=VERSION,
include_dirs=['/usr/local/include', ],
description='Sqlite3 online backup API implementation.',
long_description=long_description(),
url='https://github.com/husio/python-sqlite3-backup',
download_url='https://github.com/husio/python-sqlite3-backup/tarball/master#egg=sqlitebck-' + VERSION,
ext_modules=[module, ],
author='Piotr Husiatyński',
author_email='phusiatynski@gmail.com',
license='MIT',
classifiers=[
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Topic :: Database',
'Programming Language :: C',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython',
])