notcurses/python/setup.py
2020-01-09 06:47:46 -05:00

35 lines
1.1 KiB
Python

from setuptools import setup, find_packages
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="notcurses",
version="1.0.2",
package_dir={'': 'src'},
packages=find_packages('src'),
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',
zip_safe=True,
platforms=["any"],
long_description=read('README.md'),
long_description_content_type="text/markdown",
install_requires=["cffi>=1.0.0"],
setup_requires=["cffi>=1.0.0"],
cffi_modules=["src/notcurses/build_notcurses.py:ffibuild"],
py_modules=["notcurses"],
# see https://pypi.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python',
],
)