-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
58 lines (50 loc) · 1.28 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
import codecs
from setuptools import setup
TWPY_VERSION = '1.2.5'
TWPY_DOWNLOAD = ('https://github.com/0x0ptim0us/twpy/tarball/' + TWPY_VERSION)
def read_file(filename):
"""
Read a utf8 encoded text file and return its contents.
"""
with codecs.open(filename, 'r', 'utf8') as f:
return f.read()
setup(
name='twpy',
packages=[
'twpy',
'twpy.config',
'twpy.core',
'twpy.exceptions',
'twpy.models',
'twpy.serializers',
'twpy.utils'],
version=TWPY_VERSION,
description='Twitter High level scraper for humans. ',
long_description=read_file('README.md'),
long_description_content_type='text/markdown',
license='MIT',
author='Fardin Allahverdinazhand',
author_email='[email protected]',
url='https://github.com/0x0ptim0us/twpy',
download_url=TWPY_DOWNLOAD,
keywords=['python3', 'twitter', 'twitter api', 'twpy', 'twitter scraper'],
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Natural Language :: English',
],
install_requires=[
'requests',
'beautifulsoup4',
'pandas'
],
setup_requires=[
'requests',
'beautifulsoup4',
'pandas'
],
)