Lines Matching +full:test +full:- +full:cython
36 __import__("cython")
48 # --with-cython/--without-cython options override environment variables
49 opt_with_cython = {'--with-cython'}.intersection(sys.argv)
50 opt_without_cython = {'--without-cython'}.intersection(sys.argv)
53 "error: the options '--with-cython' and '--without-cython' are "
57 sys.argv.remove("--with-cython")
60 sys.argv.remove("--without-cython")
64 setup_requires.append("cython")
78 # read/write XML files (faster/safer than built-in ElementTree)
90 # of the Unicode Character Database instead of the built-in unicodedata
107 # use pure-python alternative on pypy
127 "skia-pathops >= 0.5.0",
136 "Development Status :: 5 - Production/Stable",
155 with io.open("README.rst", "r", encoding="utf-8") as readme:
158 with io.open("NEWS.rst", "r", encoding="utf-8") as changelog:
188 Firstly, the pre-release '.devN' suffix is dropped to signal that this is
189 a stable release. If '--major' or '--minor' options are passed, the
191 for backward-incompatible API changes, while minor is used when adding
192 new backward-compatible functionalities. No options imply 'patch' or bug-fix
196 the new version string and the current 'YYYY-MM-DD' date.
199 --sign option, the tag is GPG-signed with the user's default key.
202 pre-release suffix '.dev0' is appended to mark the opening of a new
206 - http://semver.org/
207 - https://www.python.org/dev/peps/pep-0440/
208 - https://github.com/c4urself/bump2version
215 ("minor", None, "bump the second digit (new backward-compatible features)"),
216 ("sign", "s", "make a GPG-signed tag, using the default key"),
217 ("allow-dirty", None, "don't abort if working directory is dirty"),
221 version_RE = re.compile("^[0-9]+\.[0-9]+")
222 date_fmt = u"%Y-%m-%d"
241 raise DistutilsOptionError("--major/--minor are mutually exclusive")
251 log.info("stripping pre-release suffix")
260 log.info("bumping 'patch' version and pre-release suffix")
277 sp.check_call(["git", "commit", "-m", msg], stdout=sp.PIPE)
288 tag_opt = "-s" if sign else "-a"
291 ["git", "tag", tag_opt, "-F", "-", tag_name], stdin=sp.PIPE)
294 proc.communicate(tag_message.encode('utf-8'))
300 new computed version string (cf. 'bumpversion --help' for more info)
305 (['--verbose'] if self.verbose > 1 else []) +
306 (['--dry-run'] if self.dry_run else []) +
307 (['--allow-dirty'] if (allow_dirty or self.allow_dirty) else []) +
308 (['--commit'] if commit else ['--no-commit']) +
309 (['--message', message] if message is not None else []) +
310 ['--list', part]
317 last_line = out.getvalue().splitlines()[-1]
331 with io.open(self.changelog_name, "r+", encoding="utf-8") as f:
343 f.write(header + u"\n" + u"-"*len(header) + u"\n\n" + content)
353 the --install-data option of 'setup.py install' sub-command.
364 $ FONTTOOLS_MANPATH="man" pip install -v .
367 copying Doc/man/ttx.1 -> /usr/man/man1
371 package (otherwise setup.py is not run), by using the --no-binary option:
373 $ FONTTOOLS_MANPATH="man" pip install --no-binary=fonttools fonttools
392 """Compile *.pyx source files to *.c using cythonize if Cython is
397 from Cython.Build import cythonize
399 # optionally enable line tracing for test coverage support