/
setup.py
36 lines (34 loc) · 1.09 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
from setuptools import setup
url = "https://github.com/jic-dtool/dtool-http"
version = "0.5.1"
readme = open('README.rst').read()
setup(
name="dtool-http",
packages=["dtool_http"],
version=version,
description="Add HTTP read only dataset support to dtool",
long_description=readme,
include_package_data=True,
# Package will be released using Tjelvar's PyPi credentials.
author="Tjelvar Olsson",
author_email="tjelvar.olsson@gmail.com",
# author="Matthew Hartley", # NOQA
# author_email="Matthew.Hartley@jic.ac.uk", # NOQA
url=url,
install_requires=[
"dtoolcore>=3.13",
"requests",
],
entry_points={
"dtool.storage_brokers": [
"HTTPStorageBroker=dtool_http.storagebroker:HTTPStorageBroker",
"HTTPSStorageBroker=dtool_http.storagebroker:HTTPSStorageBroker",
],
"console_scripts": [
"dtool_serve_directory=dtool_http.server:cli",
"dtool_publish_dataset=dtool_http.publish:cli"
]
},
download_url="{}/tarball/{}".format(url, version),
license="MIT"
)