forked from sio2project/oioioi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
66 lines (59 loc) · 1.89 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
54
55
56
57
58
59
60
61
62
63
64
65
66
# -*- coding: utf-8 -*-
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import os
import sys
if os.getuid() == 0: # root
print >>sys.stderr, "ERROR: This setup.py cannot be run as root."
print >>sys.stderr, "ERROR: If you want to proceed anyway, hunt this"
print >>sys.stderr, "ERROR: message and edit the source at your own risk."
sys.exit(2)
setup(
name='oioioi',
version = '0.1.dev',
description='The web frontend of the SIO2 Project contesting system',
author='The SIO2 Team',
author_email='[email protected]',
url='http://sio2project.mimuw.edu.pl',
install_requires=[
"Django >= 1.4",
"pytz",
"South",
"BeautifulSoup",
"PyYAML",
"django-nose",
"django-registration",
"django-celery",
"django-supervisor",
"linaro-django-pagination",
"django-grappelli",
"django-compressor",
"django-debug-toolbar",
"django-extensions",
"werkzeug",
# Earlier versions do not provide nose.plugins.attrib.attr decorator.
"nose >= 0.11.1",
"nose-capturestderr",
"nose-html",
"nose-profile",
"filetracker>=1.0.dev",
"sioworkers",
],
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
test_suite='oioioi.runtests.runtests',
dependency_links=[
'https://github.com/sio2project/filetracker/zipball/master#egg=filetracker-1.0.dev',
'https://github.com/mitsuhiko/werkzeug/zipball/master#egg=Werkzeug-dev',
],
entry_points = {
'console_scripts': [
'django-staticfiles-lessc = oioioi.base.lessc:main',
'oioioi-create-config = oioioi.deployment.create_config:main',
],
},
)