forked from fiboa/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (52 loc) · 1.41 KB
/
setup.py
File metadata and controls
55 lines (52 loc) · 1.41 KB
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
import re
from setuptools import setup, find_packages
from pathlib import Path
def get_version():
with open('fiboa_cli/version.py', 'r') as file:
content = file.read()
return re.match(r'__version__\s*=\s*"([^"]+)"', content)[1]
def get_description():
this_directory = Path(__file__).parent
return (this_directory / "README.md").read_text()
setup(
name="fiboa-cli",
version=get_version(),
license="Apache-2.0",
description="CLI tools such as validation and file format conversion for fiboa.",
long_description=get_description(),
long_description_content_type="text/markdown",
author="Matthias Mohr",
url="https://github.com/fiboa/cli",
install_requires=[
"jsonschema[format]>=4.20",
"pyyaml>=6.0",
"pyarrow>=14.0",
"fsspec>=2024.0",
"click>=8.1",
"geopandas>=0.14",
"requests>=2.30",
"aiohttp>=3.9",
"shapely>=2.0",
"numpy>=1.20.0",
"py7zr>=0.21.0"
],
extras_require={
# Optional dependencies for datasets converters go here
'nl': [
"pyogrio"
]
},
packages=find_packages(),
package_data={
"fiboa_cli": []
},
entry_points={
"console_scripts": [
"fiboa=fiboa_cli:cli"
]
},
classifiers=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 3',
],
)