-
-
Notifications
You must be signed in to change notification settings - Fork 54
/
setup.py
94 lines (92 loc) · 3.08 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
from setuptools import setup, find_packages # type: ignore
with open("README.md") as f:
long_description = f.read()
setup(
name="followthemoney",
version="3.7.12",
author="Organized Crime and Corruption Reporting Project",
author_email="[email protected]",
url="https://followthemoney.tech/",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
classifiers=[
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
],
packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
namespace_packages=[],
include_package_data=True,
package_data={
"": [
"followthemoney/schema/*",
"followthemoney/translations/*",
"followthemoney/py.typed",
]
},
zip_safe=False,
install_requires=[
"babel >= 2.14.0, < 3.0.0",
"pyyaml >= 5.0.0, < 7.0.0",
"types-PyYAML",
"sqlalchemy2-stubs",
"banal >= 1.0.6, < 1.1.0",
"rigour >= 0.8.1, < 1.0.0",
"click >= 8.0, < 9.0.0",
"stringcase >= 1.2.0, < 2.0.0",
"requests >= 2.21.0, < 3.0.0",
"normality >= 2.4.0, < 3.0.0",
"sqlalchemy >= 1.4.49, < 3.0.0",
"countrynames >= 1.13.0, < 2.0.0",
"prefixdate >= 0.4.0, < 1.0.0",
"fingerprints >= 1.0.1, < 2.0.0",
"phonenumbers >= 8.12.22, < 9.0.0",
"python-stdnum >= 1.16, < 2.0.0",
"pytz >= 2021.1",
"rdflib >= 6.2.0, < 7.2.0",
"networkx >= 2.5, < 3.5",
"openpyxl >= 3.0.5, < 4.0.0",
"orjson >= 3.7, < 4.0",
],
extras_require={
"dev": [
"pip>=10.0.0",
"bump2version",
"wheel>=0.29.0",
"twine",
"mypy",
"pytest",
"pytest-cov",
"types-PyYAML",
"types-requests",
"types-setuptools",
"types-openpyxl",
"flake8>=2.6.0",
"transifex-client",
"responses>=0.9.0",
"coverage>=4.1",
"recommonmark>=0.4.0",
],
},
entry_points={
"babel.extractors": {"ftmmodel = followthemoney.messages:extract_yaml"},
"followthemoney.cli": {
"aggregate = followthemoney.cli.aggregate:aggregate",
"sieve = followthemoney.cli.sieve:sieve",
"mapping = followthemoney.cli.mapping:run_mapping",
"csv = followthemoney.cli.exports:export_csv",
"excel = followthemoney.cli.exports:export_excel",
"rdf = followthemoney.cli.exports:export_rdf",
"gexf = followthemoney.cli.exports:export_gexf",
"cypher = followthemoney.cli.exports:export_cypher",
},
"console_scripts": [
"ftmutil = followthemoney.cli.cli:cli",
"ftm = followthemoney.cli.cli:cli",
"followthemoney = followthemoney.cli.cli:cli",
],
},
tests_require=["coverage", "pytest", "pytest-cov"],
)