2020-02-10 06:31:43 +00:00
|
|
|
from setuptools import setup
|
2020-02-09 04:31:51 +00:00
|
|
|
import os
|
|
|
|
|
|
|
|
def read(fname):
|
|
|
|
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
|
|
|
|
2020-02-12 14:11:28 +00:00
|
|
|
setup(
|
|
|
|
name="notcurses",
|
|
|
|
version="${PROJECT_VERSION}",
|
2020-02-10 06:31:43 +00:00
|
|
|
packages=['notcurses'],
|
|
|
|
package_dir={ '': '${CMAKE_CURRENT_BINARY_DIR}/python/src' },
|
2020-02-12 14:11:28 +00:00
|
|
|
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',
|
2020-02-12 14:15:21 +00:00
|
|
|
url='https://github.com/dankamongmen/notcurses',
|
2020-02-09 04:31:51 +00:00
|
|
|
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"],
|
2020-02-12 14:11:28 +00:00
|
|
|
cffi_modules=['${CMAKE_CURRENT_BINARY_DIR}/python/src/notcurses/build_notcurses.py:ffibuild'],
|
2020-02-09 04:31:51 +00:00
|
|
|
# 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',
|
|
|
|
],
|
|
|
|
)
|