mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-18 12:08:31 +02:00
define raw_input() for Python 3
Also, dropped Python 3.3 from the testing because it goes [EOL](https://docs.python.org/devguide/index.html#branchstatus) next month and added Python 3.5 and 3.6.
This commit is contained in:
parent
9ffca1a7a6
commit
5f9afedec8
1 changed files with 6 additions and 1 deletions
7
setup.py
7
setup.py
|
@ -49,6 +49,10 @@ try:
|
||||||
readline_available = True
|
readline_available = True
|
||||||
except ImportError:
|
except ImportError:
|
||||||
readline_available = False
|
readline_available = False
|
||||||
|
try:
|
||||||
|
raw_input # Python 2
|
||||||
|
except NameError:
|
||||||
|
raw_input = input # Python 3
|
||||||
|
|
||||||
|
|
||||||
base_dir = os.path.dirname(os.path.abspath(__file__))
|
base_dir = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
@ -167,8 +171,9 @@ setup(
|
||||||
"Programming Language :: Python",
|
"Programming Language :: Python",
|
||||||
"Programming Language :: Python :: 2.6",
|
"Programming Language :: Python :: 2.6",
|
||||||
"Programming Language :: Python :: 2.7",
|
"Programming Language :: Python :: 2.7",
|
||||||
"Programming Language :: Python :: 3.3",
|
|
||||||
"Programming Language :: Python :: 3.4",
|
"Programming Language :: Python :: 3.4",
|
||||||
|
"Programming Language :: Python :: 3.5",
|
||||||
|
"Programming Language :: Python :: 3.6",
|
||||||
"Topic :: Office/Business :: News/Diary",
|
"Topic :: Office/Business :: News/Diary",
|
||||||
"Topic :: Text Processing"
|
"Topic :: Text Processing"
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Reference in a new issue