-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
55 lines (40 loc) · 1.27 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
""":Mod: setup.py
:Synopsis:
:Author:
servilla
costa
ide
:Created:
6/15/18
"""
from os import path
from setuptools import find_packages, setup
here = path.abspath(path.dirname(__file__))
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
with open(path.join(here, "LICENSE"), encoding="utf-8") as f:
full_license = f.read()
with open(path.join(here, "src/metapype/VERSION.txt"), encoding="utf-8") as f:
version = f.read()
setup(
name='metapype',
version=version,
description='Metapype: science metadata manipulation library',
long_description=long_description,
long_description_content_type="text/markdown",
author="Environmental Data Initiative",
url="https://github.com/PASTAplus/metapype-eml",
license=full_license,
packages=find_packages(where="src", include=["metapype", "metapype.eml", "metapype.model"]),
package_dir={"": "src"},
include_package_data=True,
python_requires=" >= 3.11",
install_requires=["click>=8.1.7", "daiquiri>=3.0.0", "lxml>=5.1.0", "rfc3986>=2.0.0"],
classifiers=["License :: OSI Approved :: Apache Software License",],
)
def main():
return 0
if __name__ == "__main__":
main()