mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
16 lines
575 B
Python
16 lines
575 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_SOURCE_DIR}/python/src/notcurses' },
|
||
|
packages=find_packages('${CMAKE_CURRENT_SOURCE_DIR}/python/src/notcurses'),
|
||
|
cffi_modules=['${CMAKE_CURRENT_SOURCE_DIR}/python/src/notcurses/build_notcurses.py:ffibuild'],
|
||
|
py_modules=["notcurses"],
|
||
|
include_dirs=['${CMAKE_CURRENT_SOURCE_DIR}/include']
|
||
|
)
|