-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
66 lines (48 loc) · 1.42 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
#
# birdspy setuptools script
#
from setuptools import setup, find_packages
def get_version():
"""
Get version number from the birdspy module.
The easiest way would be to just `import birdspy`, but note that this may
fail if the dependencies have not been installed yet. Instead, we've put
the version number in a simple version_info module, that we'll import here
by temporarily adding the oxrse directory to the pythonpath using sys.path.
"""
import os
import sys
sys.path.append(os.path.abspath('birdspy'))
from version_info import VERSION as version
sys.path.pop()
return version
def get_readme():
"""
Load README.md text for use as description.
"""
with open('README.md') as f:
return f.read()
setup(
# Package name
name='birdspy',
# Version
version=get_version(),
description='This is a image analysis tool for wildlife images', # noqa
long_description=get_readme(),
license='BSD 3-Clause "New" or "Revised" License',
# author='',
# author_email='',
maintainer='',
maintainer_email='',
url='https://github.com/KCGallagher/birdspy',
# Packages to include
packages=find_packages(include=('birdspy', 'birdspy.*')),
include_package_data=True,
# List of dependencies
install_requires=[
# Dependencies go here!
'matplotlib',
'numpy>=1.8',
'pandas',
],
)