summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py19
1 files changed, 15 insertions, 4 deletions
diff --git a/setup.py b/setup.py
index a107065..028dd56 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ import setuptools
setuptools.setup(
name="kconfiglib",
# MAJOR.MINOR.PATCH, per http://semver.org
- version="5.0.0",
+ version="6.0.0",
description="A flexible Python Kconfig parser",
long_description=
open(os.path.join(os.path.dirname(__file__), "README.rst")).read(),
@@ -19,13 +19,14 @@ setuptools.setup(
"menuconfig",
"genconfig",
"oldconfig",
- "syncconfig",
"alldefconfig",
"allnoconfig",
"allmodconfig",
"allyesconfig",
),
+ # TODO: Don't install the menuconfig on Python 2. It won't run there.
+ # setuptools needs better documentation...
entry_points={
"console_scripts": (
"menuconfig = menuconfig:_main",
@@ -38,12 +39,19 @@ setuptools.setup(
)
},
+ # The terminal menuconfig implementation uses the standard Python 'curses'
+ # module. The windows-curses package makes it available on Windows. See
+ # https://github.com/zephyrproject-rtos/windows-curses.
+ install_requires=(
+ 'windows-curses; sys_platform == "win32" and python_version >= "3"',
+ ),
+
# Needs support for unnumbered {} in format()
python_requires=">=2.7,!=3.0.*",
project_urls={
"GitHub repository": "https://github.com/ulfalizer/Kconfiglib",
- "Examples": "https://github.com/ulfalizer/Kconfiglib/tree/master/examples"
+ "Examples": "https://github.com/ulfalizer/Kconfiglib/tree/master/examples",
},
classifiers=(
@@ -63,5 +71,8 @@ setuptools.setup(
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
+ "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
- "Programming Language :: Python :: Implementation :: PyPy"))
+ "Programming Language :: Python :: Implementation :: PyPy",
+ )
+)