-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
72 lines (63 loc) · 2.16 KB
/
setup.py
File metadata and controls
72 lines (63 loc) · 2.16 KB
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
68
69
70
71
72
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
import os
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
#this is the list of dependencies that pip uses to install
#requirements = [
# 'numpy',
# 'click',
# 'networkx',
#]
#extra requirements for optional features with their own dependencies
#on install, include the named extras in square brackets after the project name..
#i.e. pip install pyriv [geoFunc]
#Note: can also specify this with entry points for dynamic loading..
#i.e. ... ['pyriv=pyriv.cli:main [geoFunc]'], ['pyriv=pyriv.cli:other [otherExtra]'], ...
extra_requirements = {
'geoFunc': ["geopandas"],
}
setup_requirements = [
# TODO(jkibele): put setup requirements (distutils extensions, etc.) here
]
test_requirements = [
# TODO: put package test requirements here
]
setup(
name='pyriv',
version='0.2.10',
description="pyriv calculates the distance from a given starting point to the closest coastal edge via waterways.",
long_description=readme + '\n\n' + history,
author="Jared Kibele",
author_email='jkibele@nceas.ucsb.edu',
url='https://github.com/jkibele/pyriv',
download_url='https://github.com/jkibele/pyriv/archive/0.1.tar.gz',
packages=find_packages(include=['pyriv'], exclude=['docs']),
entry_points={
'console_scripts': [
'pyriv=pyriv.cli:main'
]
},
include_package_data=True,
install_requires=['numpy','networkx'],#requirements,
extras_require=extra_requirements,
license="MIT license",
zip_safe=False,
keywords='river distance pyriv',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: GIS',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
],
test_suite='tests',
tests_require=test_requirements,
setup_requires=setup_requirements,
)