-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
executable file
·54 lines (48 loc) · 1.49 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
from sys import exit, version
from setuptools import setup, find_packages
if version < '3.1.0':
print("python 3.1 or higher is required")
exit(1)
description = \
"""
This package can be used to work with NYPL AMI packages.
"""
requirements = [
"argparse",
"bagit>=1.6.0b8",
"pandas",
"tqdm",
"xlrd",
"openpyxl",
"pymediainfo",
"python-dateutil"
]
setup(
name = 'ami_tools',
version = 0.1,
description = description,
url = 'https://github.com/nypl/ami-tools/',
author = 'Nick Krabbenhoeft',
author_email = '[email protected]',
packages = find_packages(exclude = ['bin']),
scripts = ['bin/create_json_from_excel.py',
'bin/fix_baginfo.py',
'bin/repair_bags.py',
'bin/validate_ami_bags.py',
'bin/validate_ami_excel.py',
'bin/validate_bags.py',
'bin/survey_drive.py',
'bin/pamidb_to_json.py',
'bin/repair_ami_json_bag.py',
'bin/convert_excelbag_to_jsonbag.py'],
platforms = ['POSIX'],
install_requires = requirements,
dependency_links = ['https://github.com/LibraryOfCongress/bagit-python/tarball/master#egg=bagit-1.6.0b8'],
classifiers = [
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)