forked from CenterForOpenScience/waterbutler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
67 lines (61 loc) · 2.79 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
67
from setuptools import setup, find_packages
def parse_requirements(requirements):
with open(requirements) as f:
return [l.strip('\n') for l in f if l.strip('\n') and not l.startswith('#')]
requirements = parse_requirements('requirements.txt')
# Taken from option 3 of https://packaging.python.org/guides/single-sourcing-package-version/
version = {}
with open('waterbutler/version.py') as fp:
exec(fp.read(), version)
setup(
name='waterbutler',
version=version['__version__'],
namespace_packages=['waterbutler', 'waterbutler.auth', 'waterbutler.providers'],
description='WaterButler Storage Server',
author='Center for Open Science',
author_email='contact@cos.io',
url='https://github.com/CenterForOpenScience/waterbutler',
packages=find_packages(exclude=("tests*", )),
package_dir={'waterbutler': 'waterbutler'},
include_package_data=True,
# install_requires=requirements,
zip_safe=False,
classifiers=[
'Natural Language :: English',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: Apache Software License',
],
provides=[
'waterbutler.auth',
'waterbutler.providers',
],
entry_points={
'waterbutler.auth': [
'osf = waterbutler.auth.osf:OsfAuthHandler',
],
'waterbutler.providers': [
'cloudfiles = waterbutler.providers.cloudfiles:CloudFilesProvider',
'dropbox = waterbutler.providers.dropbox:DropboxProvider',
'figshare = waterbutler.providers.figshare:FigshareProvider',
'filesystem = waterbutler.providers.filesystem:FileSystemProvider',
'github = waterbutler.providers.github:GitHubProvider',
'gitlab = waterbutler.providers.gitlab:GitLabProvider',
'bitbucket = waterbutler.providers.bitbucket:BitbucketProvider',
'osfstorage = waterbutler.providers.osfstorage:OSFStorageProvider',
'owncloud = waterbutler.providers.owncloud:OwnCloudProvider',
's3 = waterbutler.providers.s3:S3Provider',
'dataverse = waterbutler.providers.dataverse:DataverseProvider',
'box = waterbutler.providers.box:BoxProvider',
'googledrive = waterbutler.providers.googledrive:GoogleDriveProvider',
'onedrive = waterbutler.providers.onedrive:OneDriveProvider',
'googlecloud = waterbutler.providers.googlecloud:GoogleCloudProvider',
],
'waterbutler.providers.tasks': [
'osfstorage_parity = waterbutler.providers.osfstorage.tasks.parity',
'osfstorage_backup = waterbutler.providers.osfstorage.tasks.backup',
]
},
)