rename notcurses-direct-pydemo ncdirect-pydemo

This commit is contained in:
nick black 2021-02-27 17:50:41 -05:00 committed by Nick Black
parent 053a74dc47
commit d4e87b4a35
6 changed files with 14 additions and 14 deletions

View File

@ -19,7 +19,7 @@ steps:
- cd ../cffi - cd ../cffi
- LDFLAGS=-L/usr/local/lib CFLAGS=-I/usr/local/include python3 setup.py sdist build install - LDFLAGS=-L/usr/local/lib CFLAGS=-I/usr/local/include python3 setup.py sdist build install
- env LD_LIBRARY_PATH=/usr/local/lib ./notcurses-pydemo > /dev/null - env LD_LIBRARY_PATH=/usr/local/lib ./notcurses-pydemo > /dev/null
- env LD_LIBRARY_PATH=/usr/local/lib ./notcurses-direct-pydemo > /dev/null - env LD_LIBRARY_PATH=/usr/local/lib ./ncdirect-pydemo > /dev/null
- cd ../rust - cd ../rust
- rustc --version - rustc --version
- cargo build - cargo build
@ -64,7 +64,7 @@ steps:
- cargo t_all - cargo t_all
- LDFLAGS=-L/usr/local/lib CFLAGS=-I/usr/local/include python3 setup.py sdist build install - LDFLAGS=-L/usr/local/lib CFLAGS=-I/usr/local/include python3 setup.py sdist build install
- env LD_LIBRARY_PATH=/usr/local/lib ./notcurses-pydemo > /dev/null - env LD_LIBRARY_PATH=/usr/local/lib ./notcurses-pydemo > /dev/null
- env LD_LIBRARY_PATH=/usr/local/lib ./notcurses-direct-pydemo > /dev/null - env LD_LIBRARY_PATH=/usr/local/lib ./ncdirect-pydemo > /dev/null
--- ---
kind: pipeline kind: pipeline
type: docker type: docker

View File

@ -1,20 +1,20 @@
% notcurses-direct-pydemo(1) % ncdirect-pydemo(1)
% nick black <nickblack@linux.com> % nick black <nickblack@linux.com>
% v1.6.20 % v1.6.20
# NAME # NAME
notcurses-direct-pydemo - Verify that the ncdirect Python wrappers work ncdirect-pydemo - Verify that the ncdirect Python wrappers work
# SYNOPSIS # SYNOPSIS
**notcurses-direct-pydemo** **ncdirect-pydemo**
# DESCRIPTION # DESCRIPTION
**notcurses-direct-pydemo** dumps some stylized output to the attached terminal **ncdirect-pydemo** dumps some stylized output to the attached terminal
using the notcurses Python module's "direct mode" capability (see using the notcurses Python module's "direct mode" capability (see
**notcurses-direct(3)**. This output is a minimal means of verifying that **notcurses_direct(3)**. This output is a minimal means of verifying that
the module is correctly installed and can be used in the current environment. the module is correctly installed and can be used in the current environment.
For a more full-featured demonstration, see **notcurses-demo(1)**. For a more full-featured demonstration, see **notcurses-demo(1)**.
@ -33,4 +33,4 @@ Notcurses supports only Python 3.
**notcurses-pydemo(1)**, **notcurses-pydemo(1)**,
**python(1)**, **python(1)**,
**notcurses(3)**, **notcurses(3)**,
**notcurses-direct(3)** **notcurses_direct(3)**

View File

@ -29,6 +29,6 @@ Notcurses supports only Python 3.
# SEE ALSO # SEE ALSO
**notcurses-demo(1)**, **notcurses-demo(1)**,
**notcurses-direct-pydemo(1)**, **ncdirect-pydemo(1)**,
**python(1)**, **python(1)**,
**notcurses(3)** **notcurses(3)**

View File

@ -10,8 +10,8 @@ class ManPageGenerator(install):
outfile = 'notcurses-pydemo.1' outfile = 'notcurses-pydemo.1'
pypandoc.convert_file(os.path.join(here, 'notcurses-pydemo.1.md'), 'man', outputfile=outfile, extra_args=['-s']) pypandoc.convert_file(os.path.join(here, 'notcurses-pydemo.1.md'), 'man', outputfile=outfile, extra_args=['-s'])
files.append(outfile) files.append(outfile)
outfile = 'notcurses-direct-pydemo.1' outfile = 'ncdirect-pydemo.1'
pypandoc.convert_file(os.path.join(here, 'notcurses-direct-pydemo.1.md'), 'man', outputfile=outfile, extra_args=['-s']) pypandoc.convert_file(os.path.join(here, 'ncdirect-pydemo.1.md'), 'man', outputfile=outfile, extra_args=['-s'])
files.append(outfile) files.append(outfile)
# this breaks when using --user without --prefix # this breaks when using --user without --prefix
ipage = (os.path.join(self.prefix, 'share', 'man', 'man1'), files) ipage = (os.path.join(self.prefix, 'share', 'man', 'man1'), files)
@ -36,7 +36,7 @@ setup(
name="notcurses", name="notcurses",
version="2.2.2", version="2.2.2",
packages=['notcurses'], packages=['notcurses'],
scripts=['notcurses-pydemo', 'notcurses-direct-pydemo'], scripts=['notcurses-pydemo', 'ncdirect-pydemo'],
package_dir={'': 'src'}, package_dir={'': 'src'},
author="Nick Black", author="Nick Black",
author_email="nickblack@linux.com", author_email="nickblack@linux.com",

View File

@ -41,10 +41,10 @@
<a href="ncplayer.1.html">ncplayer</a>—renders images and video to a terminal<br/> <a href="ncplayer.1.html">ncplayer</a>—renders images and video to a terminal<br/>
<a href="nctetris.1.html">nctetris</a>—Tetris in a terminal<br/> <a href="nctetris.1.html">nctetris</a>—Tetris in a terminal<br/>
<a href="notcurses-demo.1.html">notcurses-demo</a>—shows off some notcurses features<br/> <a href="notcurses-demo.1.html">notcurses-demo</a>—shows off some notcurses features<br/>
<a href="notcurses-direct-pydemo.1.html">notcurses-direct-pydemo</a>—validates the Python direct-mode wrappers<br/>
<a href="notcurses-input.1.html">notcurses-input</a>—reads and decodes input events<br/> <a href="notcurses-input.1.html">notcurses-input</a>—reads and decodes input events<br/>
<a href="notcurses-pydemo.1.html">notcurses-pydemo</a>—validates the Python wrappers<br/>
<a href="notcurses-tester.1.html">notcurses-tester</a>—unit test driver<br/> <a href="notcurses-tester.1.html">notcurses-tester</a>—unit test driver<br/>
<a href="ncdirect-pydemo.1.html">ncdirect-pydemo</a>—validates the Python direct-mode wrappers<br/>
<a href="notcurses-pydemo.1.html">notcurses-pydemo</a>—validates the Python wrappers<br/>
<div style="float:left"> <div style="float:left">
<h3>C library (section 3)</h3> <h3>C library (section 3)</h3>
<a href="notcurses_capabilities.3.html">notcurses_capabilities</a>—runtime capability detection<br/> <a href="notcurses_capabilities.3.html">notcurses_capabilities</a>—runtime capability detection<br/>