-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·31 lines (24 loc) · 854 Bytes
/
setup.py
File metadata and controls
executable file
·31 lines (24 loc) · 854 Bytes
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
#!/usr/bin/env python
"""GeoKey extension for adding web resources to projects."""
from os.path import dirname, join
from setuptools import setup, find_packages
def read(file_name):
with open(join(dirname(__file__), file_name)) as file_object:
return file_object.read()
name = 'geokey-webresources'
version = __import__(name.replace('-', '_')).__version__
repository = join('https://github.com/ExCiteS', name)
setup(
name=name,
version=version,
description='Add web resources to GeoKey projects',
long_description=read('README.rst'),
url=repository,
download_url=join(repository, 'tarball', version),
author='ExCiteS',
author_email='excites@ucl.ac.uk',
license='MIT',
packages=find_packages(exclude=['*.tests', '*.tests.*', 'tests.*']),
include_package_data=True,
install_requires=[],
)