mirror of
https://github.com/ihabunek/toot.git
synced 2025-01-03 14:56:37 -05:00
Drop support for Python 2
It's hard to maintain both versions, having unicode issues in py2, etc.
This commit is contained in:
parent
38b6a475ca
commit
1b86cdd404
@ -1,7 +1,6 @@
|
||||
language: python
|
||||
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.3"
|
||||
- "3.4"
|
||||
- "3.5"
|
||||
|
@ -1,3 +1,2 @@
|
||||
requests>=2.13,<3.0
|
||||
beautifulsoup4>=4.5.0,<5.0
|
||||
future>=0.16
|
||||
|
3
setup.py
3
setup.py
@ -18,8 +18,6 @@ setup(
|
||||
classifiers=[
|
||||
'Development Status :: 4 - Beta',
|
||||
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
|
||||
'Programming Language :: Python :: 2',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.3',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
@ -30,7 +28,6 @@ setup(
|
||||
install_requires=[
|
||||
"requests>=2.13,<3.0",
|
||||
"beautifulsoup4>=4.5.0,<5.0",
|
||||
"future>=0.16",
|
||||
],
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
|
@ -1,6 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
from __future__ import print_function
|
||||
|
||||
from collections import namedtuple
|
||||
|
||||
|
@ -4,7 +4,7 @@ import logging
|
||||
import re
|
||||
import requests
|
||||
|
||||
from future.moves.urllib.parse import urlparse, urlencode
|
||||
from urllib.parse import urlparse, urlencode
|
||||
from requests import Request, Session
|
||||
|
||||
from toot import CLIENT_NAME, CLIENT_WEBSITE
|
||||
|
@ -1,6 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
from __future__ import print_function
|
||||
|
||||
import webbrowser
|
||||
|
||||
|
@ -1,6 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
from __future__ import print_function
|
||||
|
||||
import json
|
||||
import requests
|
||||
@ -9,7 +7,7 @@ import webbrowser
|
||||
from bs4 import BeautifulSoup
|
||||
from builtins import input
|
||||
from datetime import datetime
|
||||
from future.moves.itertools import zip_longest
|
||||
from itertools import zip_longest
|
||||
from getpass import getpass
|
||||
from itertools import chain
|
||||
from textwrap import TextWrapper, wrap
|
||||
|
@ -1,8 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
from __future__ import print_function
|
||||
|
||||
import os
|
||||
import sys
|
||||
import logging
|
||||
|
||||
|
@ -1,11 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
from __future__ import print_function
|
||||
|
||||
import sys
|
||||
import re
|
||||
|
||||
|
||||
START_CODES = {
|
||||
'red': '\033[31m',
|
||||
'green': '\033[32m',
|
||||
|
@ -1,6 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
from __future__ import print_function
|
||||
|
||||
import re
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user