forked from chmouel/ftp-cloudfs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·37 lines (35 loc) · 1.32 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
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
from ftpcloudfs.constants import version
def read(fname):
full_path = os.path.join(os.path.dirname(__file__), fname)
if os.path.exists(fname):
return open(full_path).read()
else:
return ""
setup(name='ftp-cloudfs',
version=version,
download_url="http://pypi.python.org/packages/source/f/ftp-cloudfs/ftp-cloudfs-%s.tar.gz" % (version),
description='FTP interface to OpenStack Object Storage (Swift)',
author='Chmouel Boudjnah',
author_email='[email protected]',
url='https://pypi.python.org/pypi/ftp-cloudfs/',
long_description = read('README.rst'),
license='MIT',
include_package_data=True,
zip_safe=False,
install_requires=['pyftpdlib>=1.3.0', 'python-swiftclient>=1.6.0', 'python-daemon>=1.5.5', 'python-memcached'],
scripts=['bin/ftpcloudfs'],
packages = find_packages(exclude=['tests',]),
tests_require = ["nose"],
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Programming Language :: Python',
'Operating System :: OS Independent',
'Environment :: No Input/Output (Daemon)',
'License :: OSI Approved :: MIT License',
],
test_suite = "nose.collector",
)