-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
73 lines (69 loc) · 2.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
"""Setup script for the python-act library module"""
from os import path
from setuptools import setup
# read the contents of your README file
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), "rb") as f:
long_description = f.read().decode("utf-8")
setup(
name="act-scio",
version="0.0.62",
author="mnemonic AS",
zip_safe=True,
author_email="[email protected]",
description="ACT SCIO",
long_description=long_description,
long_description_content_type="text/markdown",
license="ISC",
keywords="ACT, mnemonic",
entry_points={
"console_scripts": [
"scio-analyze = act.scio.analyze:main",
"scio-api = act.scio.api:main",
"scio-config = act.scio.scio_config:main",
"scio-feeds = act.scio.feeds.feeds:main",
"scio-tika-server = act.scio.tika_engine:main",
"scio-nltk-download= act.scio.nltk_download:main",
"scio-upload = act.scio.upload:main",
"scio-submit= act.scio.submit:main",
]
},
# Include ini-file(s) from act/workers/etc
package_data={"act.scio": ["etc/*", "etc/plugins/*", "vendor/*"]},
packages=["act.scio", "act.scio.plugins", "act.scio.feeds"],
# https://packaging.python.org/guides/packaging-namespace-packages/#pkgutil-style-namespace-packages
# __init__.py under all packages under in the act namespace must contain exactly string:
# __path__ = __import__('pkgutil').extend_path(__path__, __name__)
namespace_packages=["act"],
url="https://github.com/mnemonic-no/act-scio2",
install_requires=[
"addict",
"aiofiles",
"beautifulsoup4",
"bs4",
"caep",
"elasticsearch>=8.0.0",
"fastapi",
"feedparser",
"greenstalk>=2.0.0",
"ipaddress",
"justext",
"nltk",
"openai",
"pydantic>=1.9.0,<2.0.0",
"pytest-asyncio",
"pytest",
"python-magic",
"pytz",
"requests",
"tika",
"urllib3",
"uvicorn",
],
python_requires=">=3.6, <4",
classifiers=[
"Development Status :: 4 - Beta",
"Topic :: Utilities",
"License :: OSI Approved :: ISC License (ISCL)",
],
)