Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
737095e7fb | ||
|
|
10d9f76f67 | ||
|
|
34a74f28aa | ||
|
|
c3c4827798 | ||
|
|
e930c75e2d | ||
|
|
d5efede758 | ||
|
|
dc9b067d1d | ||
|
|
940e2a7431 | ||
|
|
8fcb3ab50f | ||
|
|
8ef6474c90 | ||
|
|
5da28e4d89 | ||
|
|
8902955fed | ||
|
|
30429b05a5 | ||
|
|
ca266ef04b | ||
|
|
8891b35dc7 |
@@ -1 +1,3 @@
|
||||
include requirements.txt
|
||||
include requirements_test.txt
|
||||
|
||||
|
||||
@@ -133,7 +133,12 @@ Structure of each item which got from items() function.
|
||||
<tr>
|
||||
<td>currency</td>
|
||||
<td>str</td>
|
||||
<td>ex. "USD"</td>
|
||||
<td>ISO 4217 currency codes (ex. "USD")</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>bgColor</td>
|
||||
<td>int</td>
|
||||
<td>RGB Int</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>author</td>
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
pytchat is a python library for fetching youtube live chat.
|
||||
"""
|
||||
__copyright__ = 'Copyright (C) 2019 taizan-hokuto'
|
||||
__version__ = '0.0.1.7'
|
||||
__version__ = '0.0.2.1'
|
||||
__license__ = 'MIT'
|
||||
__author__ = 'taizan-hokuto'
|
||||
__author_email__ = '55448286+taizan-hokuto@users.noreply.github.com'
|
||||
__url__ = 'https://github.com/taizan-hokuto'
|
||||
__url__ = 'https://github.com/taizan-hokuto/pytchat'
|
||||
|
||||
__all__ = ["core_async","core_multithread","processors"]
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ symbols = {
|
||||
"PLN\xa0": {"fxtext": "PLN", "jptext": "ポーランド・ズロチ"},
|
||||
"R$": {"fxtext": "BRL", "jptext": "ブラジル・レアル"},
|
||||
"RUB\xa0": {"fxtext": "RUB", "jptext": "ロシア・ルーブル"},
|
||||
"SEK\xa0": {"fxtext": "SEK", "jptext": "スウェーデン・クローネ"},
|
||||
"SEK\xa0": {"fxtext": "SEK", "jptext": "スウェーデン・クローナ"},
|
||||
"£": {"fxtext": "GBP", "jptext": "英・ポンド"},
|
||||
"₩": {"fxtext": "KRW", "jptext": "韓国・ウォン"},
|
||||
"€": {"fxtext": "EUR", "jptext": "欧・ユーロ"},
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
aiohttp==3.6.0
|
||||
aioresponses==0.6.0
|
||||
mock==3.0.5
|
||||
mocker==1.1.1
|
||||
pytest==5.1.2
|
||||
pytest-mock==1.10.4
|
||||
pytz==2019.2
|
||||
requests==2.22.0
|
||||
urllib3==1.25.3
|
||||
aiohttp
|
||||
pytz
|
||||
requests
|
||||
urllib3
|
||||
5
requirements_test.txt
Normal file
5
requirements_test.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
aioresponses
|
||||
mock
|
||||
mocker
|
||||
pytest
|
||||
pytest-mock
|
||||
20
setup.py
20
setup.py
@@ -1,14 +1,18 @@
|
||||
from setuptools import setup, find_packages
|
||||
from setuptools import setup, find_packages, Command
|
||||
from codecs import open
|
||||
from os import path
|
||||
from os import path, system
|
||||
import re
|
||||
|
||||
package_name = "pytchat"
|
||||
|
||||
root_dir = path.abspath(path.dirname(__file__))
|
||||
|
||||
def _requires_from_file(filename):
|
||||
return open(filename).read().splitlines()
|
||||
def _requirements():
|
||||
return [name.rstrip() for name in open(path.join(root_dir, 'requirements.txt')).readlines()]
|
||||
|
||||
def _test_requirements():
|
||||
return [name.rstrip() for name in open(path.join(root_dir, 'requirements_test.txt')).readlines()]
|
||||
|
||||
|
||||
with open(path.join(root_dir, package_name, '__init__.py')) as f:
|
||||
init_text = f.read()
|
||||
@@ -27,18 +31,20 @@ assert url
|
||||
with open('README.md', encoding='utf-8') as f:
|
||||
long_description = f.read()
|
||||
|
||||
|
||||
|
||||
setup(
|
||||
name=package_name,
|
||||
packages=find_packages(),
|
||||
|
||||
version=version,
|
||||
|
||||
url=url,
|
||||
author=author,
|
||||
author_email=author_email,
|
||||
long_description=long_description,
|
||||
long_description_content_type='text/markdown',
|
||||
license=license,
|
||||
install_requires=_requirements(),
|
||||
tests_require=_test_requirements(),
|
||||
description="a python library for fetching youtube live chat.",
|
||||
classifiers=[
|
||||
'Natural Language :: Japanese',
|
||||
@@ -52,5 +58,5 @@ setup(
|
||||
'License :: OSI Approved :: MIT License',
|
||||
],
|
||||
keywords='youtube livechat asyncio',
|
||||
install_requires=_requires_from_file('requirements.txt')
|
||||
|
||||
)
|
||||
Reference in New Issue
Block a user