-
Notifications
You must be signed in to change notification settings - Fork 95
/
setup.py
49 lines (41 loc) · 1.2 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
# coding=utf-8
# Python 2.5 compatibility.
from __future__ import with_statement
import os.path
import sys
from setuptools import setup, find_packages
VERSION = '0.3-dev'
def read_relative_file(filename):
"""Returns contents of the given file.
Filename argument must be relative to this module.
"""
with open(os.path.join(os.path.dirname(__file__), filename)) as f:
return f.read()
setup(
name='fileconveyor',
version=VERSION,
url='http://fileconveyor.org',
download_url='https://github.com/wimleers/fileconveyor',
author='Wim Leers',
license='Unlicense',
description="Daemon to detect, process and sync files to CDNs.",
long_description=read_relative_file('README.txt'),
platforms='Any',
classifiers = [
'Development Status :: 4 - Beta',
'License :: Public Domain',
'Operating System :: OS Independent',
],
packages=find_packages(),
include_package_data = True,
install_requires=[
'setuptools',
'cssutils',
'boto==1.6b',
'python-cloudfiles>=1.4.0',
'django>=1.3',
'django-cumulus>=1.0.5',
] + (
["pyinotify>0.8.0"] if "linux" in sys.platform else []
),
)