-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (42 loc) · 1.26 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
# !/usr/bin/env python
# encoding: utf-8
from setuptools import find_packages, setup
import os
NAME = 'linnaeus'
DESCRIPTION = 'Recreate reference images using tiny images as pixels.'
URL = 'https://github.com/NaturalHistoryMuseum/linnaeus'
EMAIL = '[email protected]'
AUTHOR = 'Alice Butcher'
REQUIRES_PYTHON = '>=3.6.0'
VERSION = '1.14.3'
root = os.path.dirname(os.path.abspath(__file__))
with open(root + '/requirements.txt', 'r') as req_file:
REQUIRED = [r.strip() for r in req_file.readlines()]
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=DESCRIPTION,
author=AUTHOR,
author_email=EMAIL,
python_requires=REQUIRES_PYTHON,
url=URL,
packages=find_packages(exclude=('tests',)),
install_requires=REQUIRED,
include_package_data=True,
package_data={
'linnaeus': [root + '/utils/scales.pkl']
},
entry_points='''
[console_scripts]
linnaeus=linnaeus.cli:cli
''',
license='MIT',
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython'
]
)