-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
55 lines (47 loc) · 1.2 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
import os
from setuptools import find_packages
from setuptools import setup
version = '0.1a.dev'
install_requires = [
'altair',
'arxiv',
'click',
'newspaper3k',
'pandas',
'pandas',
'requests',
'streamlit',
'tqdm',
]
test_requires = [
'pytest',
'pytest-cov',
'pytest-flakes',
'pytest-pep8',
]
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst'), encoding='utf-8').read()
except IOError:
README = ''
setup(name='twitter-discovery',
version=version,
description='Twitter Discovery lets you search articles referenced '
'from your tweets, retweets, and favorites.',
long_description=README,
url='https://github.com/naturalvision/twitter-discovery',
author='Daniel Nouri',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
extras_require={
'testing': test_requires,
'all': install_requires + test_requires,
},
entry_points={
'console_scripts': [
'twitter-discovery = twidis.main:cli',
],
},
)