/
setup.py
53 lines (47 loc) · 1.52 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
#!/usr/bin/env python
# -*- coding: utf-8 -
#
import os
import sys
if not hasattr(sys, 'version_info') or sys.version_info < (2, 5, 0, 'final'):
raise SystemExit("Bisonvert lib client requires Python 2.5 or later.")
from setuptools import setup, find_packages
name = 'bv.libclient'
setup(
name = name,
namespace_packages = ['bv', name],
version = '0.1.0',
description = 'A python lib client to consume the bisonvert REST API.',
long_description = file(
os.path.join(
os.path.dirname(__file__),
'README.rst'
)
).read(),
author = 'Alexis Metaireau, Makina Corpus',
author_email = 'ametaireau@gmail.com',
license = 'BSD',
url = 'http://bitbucket.org/bisonvert/bvlibclient',
install_requires = [
"restkit",
"django-oauthclient",
"httplib2",
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
packages = find_packages('src'),
package_dir = {'': 'src'},
# Make setuptools include all data files under version control,
# svn and CVS by default
include_package_data=True,
zip_safe=False,
# Tells setuptools to download setuptools_git before running setup.py so
# it can find the data files under Hg version control.
setup_requires=['setuptools_hg'],
)