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
54 lines (47 loc) · 1.45 KB
/
setup.py
File metadata and controls
54 lines (47 loc) · 1.45 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
import re
from pathlib import Path
from setuptools import find_packages, setup
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>=1.0.0",
"requests>=2.30",
"aiohttp>=3.9",
"shapely>=2.0",
"numpy>=1.20.0",
"py7zr>=0.21.0",
"flatdict>=4.0",
"rarfile>=4.0",
],
extras_require={
# Optional dependencies for datasets converters go here
"ie": ["zipfile-deflate64"],
"es_pv": ["beautifulsoup4>=4.12.0"],
},
packages=find_packages(),
package_data={"fiboa_cli": []},
entry_points={"console_scripts": ["fiboa=fiboa_cli:cli"]},
classifiers=[
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
],
)