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.
notcurses/python/setup.py.in

16 lines
563 B
Python

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/notcurses' },
packages=find_packages('${CMAKE_CURRENT_BINARY_DIR}/python/notcurses'),
cffi_modules=['${CMAKE_CURRENT_BINARY_DIR}/python/notcurses/build_notcurses.py:ffibuild'],
py_modules=["notcurses"],
include_dirs=['${CMAKE_CURRENT_SOURCE_DIR}/include']
)