Atlas - setup.py
Home / ext / kconfiglib Lines: 1 | Size: 3341 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)][FILE BEGIN]1import io 2import os 3 4import setuptools 5 6 7setuptools.setup( 8 name="kconfiglib", 9 # MAJOR.MINOR.PATCH, per http://semver.org 10 version="14.1.0", 11 description="A flexible Python Kconfig implementation", 12 13 # Make sure that README.rst decodes on Python 3 in environments that use 14 # the C locale (which implies ASCII), by explicitly giving the encoding. 15 # 16 # io.open() has the 'encoding' parameter on both Python 2 and 3. open() 17 # doesn't have it on Python 2. This lets us use the same code for both. 18 long_description=io.open( 19 os.path.join(os.path.dirname(__file__), "README.rst"), 20 encoding="utf-8" 21 ).read(), 22 23 url="https://github.com/ulfalizer/Kconfiglib", 24 author='Ulf "Ulfalizer" Magnusson', 25 author_email="[email protected]", 26 keywords="kconfig, kbuild, menuconfig, configuration-management", 27 license="ISC", 28 29 py_modules=( 30 "kconfiglib", 31 "menuconfig", 32 "guiconfig", 33 "genconfig", 34 "oldconfig", 35 "olddefconfig", 36 "savedefconfig", 37 "defconfig", 38 "alldefconfig", 39 "allnoconfig", 40 "allmodconfig", 41 "allyesconfig", 42 "listnewconfig", 43 "setconfig", 44 ), 45 46 entry_points={ 47 "console_scripts": ( 48 "menuconfig = menuconfig:_main", 49 "guiconfig = guiconfig:_main", 50 "genconfig = genconfig:main", 51 "oldconfig = oldconfig:_main", 52 "olddefconfig = olddefconfig:main", 53 "savedefconfig = savedefconfig:main", 54 "defconfig = defconfig:main", 55 "alldefconfig = alldefconfig:main", 56 "allnoconfig = allnoconfig:main", 57 "allmodconfig = allmodconfig:main", 58 "allyesconfig = allyesconfig:main", 59 "listnewconfig = listnewconfig:main", 60 "setconfig = setconfig:main", 61 ) 62 }, 63 64 # Note: windows-curses is not automatically installed on Windows anymore, 65 # because it made Kconfiglib impossible to install on MSYS2 with pip 66 67 # Needs support for unnumbered {} in format() and argparse 68 python_requires=">=2.7,!=3.0.*,!=3.1.*", 69 70 project_urls={ 71 "GitHub repository": "https://github.com/ulfalizer/Kconfiglib", 72 "Examples": "https://github.com/ulfalizer/Kconfiglib/tree/master/examples", 73 }, 74 75 classifiers=[ 76 "Development Status :: 5 - Production/Stable", 77 "Intended Audience :: Developers", 78 "Topic :: Software Development :: Build Tools", 79 "Topic :: System :: Operating System Kernels :: Linux", 80 "License :: OSI Approved :: ISC License (ISCL)", 81 "Operating System :: POSIX", 82 "Operating System :: Microsoft :: Windows", 83 "Programming Language :: Python :: 2", 84 "Programming Language :: Python :: 2.7", 85 "Programming Language :: Python :: 3", 86 "Programming Language :: Python :: 3.2", 87 "Programming Language :: Python :: 3.3", 88 "Programming Language :: Python :: 3.4", 89 "Programming Language :: Python :: 3.5", 90 "Programming Language :: Python :: 3.6", 91 "Programming Language :: Python :: 3.7", 92 "Programming Language :: Python :: 3.8", 93 "Programming Language :: Python :: Implementation :: CPython", 94 "Programming Language :: Python :: Implementation :: PyPy", 95 ] 96) 97[FILE END](C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.