-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
executable file
·63 lines (55 loc) · 2.5 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
from setuptools import setup
with open("README.rst", "r") as fh:
long_desc = fh.read()
with open('src/factiva/news/__version__.py') as f:
for line in f:
if line.find("__version__") >= 0:
version = line.split("=")[1].strip()
version = version.strip('"')
version = version.strip("'")
continue
setup(
name='factiva-news',
version=version,
description='Python package to interact with Factiva news-related APIs. Services are described in the Dow Jones Developer Platform.',
long_description=long_desc,
long_description_content_type='text/x-rst',
license='MIT',
author='Dow Jones Customer Engineers',
author_email='[email protected]',
# Warning: the folder 'factiva' should NOT have an __init__.py file to avoid conflicts with the same namespace across other packages
package_dir={'': 'src'},
packages=['factiva.news', 'factiva.news.snapshot', 'factiva.news.stream', 'factiva.news.taxonomy', 'factiva.news.tools'],
url='https://developer.dowjones.com/',
project_urls={
"GitHub": "https://github.com/dowjones/factiva-news-python",
"Documentation": "https://factiva-news-python.readthedocs.io/",
"Bug Tracker": "https://github.com/dowjones/factiva-news-python/issues",
},
classifiers=[ # Optional
# How mature is this project? Common values are
# 1 - Planning
# 2 - Pre-Alpha
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Science/Research',
'Intended Audience :: Financial and Insurance Industry',
'Operating System :: OS Independent',
'Topic :: Office/Business :: News/Diary',
'Topic :: Office/Business :: Financial :: Investment',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
keywords='news, news aggregator, risk, compliance, nlp, alternative data, factiva, trading news, market movers',
python_requires='>=3.7',
install_requires=[
'factiva-core>=0.2.3', 'fastavro', 'google-cloud-core',
'google-cloud-pubsub', 'google-cloud-bigquery', 'pymongo'
])