-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
58 lines (50 loc) · 1.27 KB
/
setup.py
File metadata and controls
58 lines (50 loc) · 1.27 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
51
52
53
54
55
56
57
58
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup, find_packages
import lxxl
if sys.argv[-1] == 'publish':
os.system('python3 setup.py sdist upload')
sys.exit()
major, minor = sys.version_info[:2]
if major < 3 or minor < 2:
raise Exception("LxxL requires Python 3.2")
os.environ['PYTHONDONTWRITEBYTECODE'] = '1'
requires = [
'pyyaml',
'webob',
'chardet2',
'requests==1.1.0',
'python3-digest',
'python3-memcached',
'pymongo',
'WTForms',
'wtforms_json',
'mailsnake'
]
dep_links = [
'https://github.com/webitup/py3k-mailsnake/zipball/master#egg=mailsnake'
]
setup(
name='lxxl',
version=lxxl.__version__,
description='LxxL Web Services',
long_description=open('README.md').read(),
author='Education Numerique',
author_email='tech@webitup.fr',
url='http://education-numerique.github.com/api/',
packages=find_packages(),
scripts=[
'bin/lxxl',
'bin/lxxl.graph',
'bin/lxxl.wildbull',
'bin/lxxl.authentication.admin',
'bin/lxxl.authentication.front'
],
package_dir={'lxxl': 'lxxl'},
include_package_data=True,
install_requires=requires,
dependency_links=dep_links,
license=open('LICENSE.md').read()
)