forked from lukasmartinelli-alt/cuckoodrive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·61 lines (53 loc) · 1.47 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
from setuptools import setup
from setuptools.command.test import test as TestCommand
import sys
tests_require = [
'pytest',
'pytest-cache',
'pytest-cov',
'mock',
]
install_requires = [
'fs',
'pyfs-dropbox',
'docopt',
'pyinotify',
'blessings'
]
dependency_links= [
'https://github.com/lukasmartinelli/fs-dropbox/tarball/master#egg=pyfs-dropbox-0.3.3',
]
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setup(
name="cuckoodrive",
version="0.0.1",
author="Lukas Martinelli",
author_email="[email protected]",
url="https://github.com/lukasmartinelli/cuckoodrive",
description=("Aggregates all the free space provided on various \
cloud storage providers into one big drive."),
long_description=open('README.rst').read(),
packages=['cuckoodrive'],
install_requires=install_requires,
extras_require={
'test': tests_require
},
tests_require=tests_require,
dependency_links=dependency_links,
cmdclass={'test': PyTest},
license='GPLv2',
keywords = "fs dropbox",
include_package_data=True,
entry_points = {
'console_scripts': ['cuckoodrive=cuckoodrive:main']
}
)