-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathsetup.py
52 lines (48 loc) · 1.62 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
from setuptools import setup, find_packages
with open('./README.md', 'r') as f:
long_description = f.read()
# Version
# Info: https://packaging.python.org/guides/single-sourcing-package-version/
# Example: https://github.com/pypa/warehouse/blob/64ca42e42d5613c8339b3ec5e1cb7765c6b23083/warehouse/__about__.py
meta_package = {}
with open('./minet/__version__.py') as f:
exec(f.read(), meta_package)
setup(name='minet',
version=meta_package['__version__'],
description='A webmining CLI tool & library for python.',
long_description=long_description,
long_description_content_type='text/markdown',
url='http://github.com/medialab/minet',
license='MIT',
author='Jules Farjas, Guillaume Plique, Pauline Breteau',
keywords='webmining',
python_requires='>=3.6',
packages=find_packages(exclude=['ftest', 'scripts', 'test']),
install_requires=[
'beautifulsoup4>=4.7.1',
'browser-cookie3==0.13.0',
'casanova>=0.17.0,<0.18',
'cchardet>=2.1.7',
'colorama>=0.4.0',
'dateparser>=1.0.0',
'ebbe>=1.3.1,<2',
'json5>=0.8.5',
'keyring<19.3',
'lxml>=4.3.0',
'ndjson>=0.3.1',
'persist-queue>=0.7.0',
'pyyaml',
'quenouille>=1.4.2,<2',
'soupsieve>=2.1',
'tenacity>=7.0.0',
'termcolor>=1.0.0',
'tqdm>=4.60.0',
'trafilatura>=0.9.1,<0.10',
'twitwi>=0.9.2,<1',
'ural>=0.31.1,<0.32',
'urllib3[secure]>=1.25.3,<2'
],
entry_points={
'console_scripts': ['minet=minet.cli.__main__:main']
},
zip_safe=True)