You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.4 KiB
Python
36 lines
1.4 KiB
Python
5 years ago
|
from setuptools import setup, find_packages
|
||
|
import os
|
||
|
|
||
|
def read(fname):
|
||
|
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
setup(name='notcurses',
|
||
|
version='${PROJECT_VERSION}',
|
||
|
package_dir={ '': '${CMAKE_CURRENT_BINARY_DIR}/python/src/notcurses' },
|
||
|
packages=find_packages('${CMAKE_CURRENT_BINARY_DIR}/python/src/notcurses'),
|
||
|
cffi_modules=['${CMAKE_CURRENT_BINARY_DIR}/python/src/notcurses/build_notcurses.py:ffibuild'],
|
||
|
py_modules=["notcurses"],
|
||
|
include_dirs=['${CMAKE_CURRENT_SOURCE_DIR}/include'],
|
||
|
long_description=read('${CMAKE_CURRENT_SOURCE_DIR}/README.md'),
|
||
|
zip_safe=True,
|
||
|
platforms=["any"],
|
||
|
long_description_content_type="text/markdown",
|
||
|
install_requires=["cffi>=1.0.0"],
|
||
|
setup_requires=["cffi>=1.0.0"],
|
||
|
# see https://pypi.org/pypi?%3Aaction=list_classifiers
|
||
|
classifiers=[
|
||
|
'Development Status :: 4 - Beta',
|
||
|
'Environment :: Console',
|
||
|
'License :: OSI Approved :: Apache Software License',
|
||
|
'Natural Language :: English',
|
||
|
'Programming Language :: Python',
|
||
|
],
|
||
|
author="Nick Black",
|
||
|
author_email="nickblack@linux.com",
|
||
|
description="Blingful TUI construction library (python bindings)",
|
||
|
keywords="ncurses curses tui console graphics",
|
||
|
license='Apache License, Version 2.0',
|
||
|
url='https://github.com/dankamongmen/notcurses'
|
||
|
)
|