-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
63 lines (54 loc) · 2.34 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/core/__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-core',
version=version,
description='Python package with root definitions and dictionaries, to support other functional packages.',
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.core', 'factiva.helper', 'factiva.core.dicts', 'factiva.core.const',
'factiva.core.auth', 'factiva.core.req', 'factiva.core.tools'],
package_data={'': ['*.csv']},
url='https://developer.dowjones.com/',
project_urls={
"GitHub": "https://github.com/dowjones/factiva-core-python",
"Documentation": "https://factiva-core-python.readthedocs.io/",
"Bug Tracker": "https://github.com/dowjones/factiva-core-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',
'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, factiva',
python_requires='>=3.7',
install_requires=['requests', 'pandas', 'numpy', 'google-cloud-pubsub', 'fastavro'],
)