-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
30 lines (26 loc) · 1.02 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
from setuptools import setup, find_packages
from version import get_version
def main():
"""Install dpres-ipt Python libraries"""
setup(
name='ipt',
packages=find_packages(exclude=['tests', 'tests.*']),
version=get_version(),
entry_points={
'console_scripts': [
'bagit-util = ipt.scripts.bagit_util:main',
'check-sip-digital-objects = ipt.scripts.check_sip_digital_objects:main',
'check-sip-file-checksums = ipt.scripts.check_sip_file_checksums:main',
'check-xml-schema-features = ipt.scripts.check_xml_schema_features:main',
'check-xml-schematron-features = ipt.scripts.check_xml_schematron_features:main',
'create-schema-catalog = ipt.scripts.create_schema_catalog:main',
'premis2html = ipt.scripts.premis2html:main'
],
},
install_requires=[
'python-mimeparse',
'lxml'
]
)
if __name__ == '__main__':
main()