-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
60 lines (50 loc) · 1.59 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import girderfs
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f:
readme = f.read()
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: System :: Filesystems'
]
install_requires = ['fusepy', 'girder-client', 'requests', 'python-dateutil',
'six']
if sys.version_info[0] == 2:
install_requires.append('pathlib')
install_requires.append('backports.datetime_timestamp')
setup(
name='girderfs',
version=girderfs.__version__,
description='FUSE filesystem allowing to mount Girder\'s fs assetstore',
long_description=readme,
packages=['girderfs'],
entry_points={
'console_scripts': [
'girderfs = girderfs.__main__:main'
]
},
install_requires=install_requires,
tests_require=['pytest'],
author=girderfs.__author__,
author_email='[email protected]',
url='https://github.com/data-exp-lab/girder_fs',
license='BSD',
classifiers=classifiers,
)