< Home - < Back

python2-preprocess


Information about the package, python2-preprocess, which is shipped with common Linux distributions. The python2-preprocess package is designed for, A portable multi-language file Python2 preprocessor.


Package Name:

python2-preprocess

Summary:

A portable multi-language file Python2 preprocessor

Description:

There are millions of templating systems out there (most of them developed for the web). This isn't one of those, though it does share some basics: a markup syntax for templates that are processed to give resultant text output. The main difference with preprocess.py is that its syntax is hidden in comments (whatever the syntax for comments may be in the target file type) so that the file can still have valid syntax. A comparison with the C preprocessor is more apt. preprocess.py is targeted at build systems that deal with many types of files. Languages for which it works include: C++, Python, Perl, Tcl, XML, JavaScript, CSS, IDL, TeX, Fortran, PHP, Java, Shell scripts (Bash, CSH, etc.) and C#. Preprocess is usable both as a command line app and as a Python module.

Architecture:

noarch

Version:

1.2.3

Release:

0.1.20170318git6e868b.el6

Size:

32 k

Repository:

epel

From Repository:

Licence:

MIT



Handy Yum Commands for python2-preprocess


Control the python2-preprocess package with the following handy commands outlined below.


Command

Description of Command

yum install python2-preprocess

This command will install python2-preprocess on the server.

yum remove python2-preprocess

This command will un-install python2-preprocess on the server. When you run this command, you will be asked if you are sure that you want to remove python2-preprocess, so you have to manually confirm that you want to do this.

yum -y remove python2-preprocess

This command will un-install python2-preprocess on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python2-preprocess when using the -y flag.

yum update python2-preprocess

This command will update python2-preprocess to the latest version. When you run this command, you will be asked if you are sure that you want to remove python2-preprocess, so you have to manually confirm that you want to do this.

yum -y update python2-preprocess

This command will update python2-preprocess to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python2-preprocess when using the -y flag.

yum info python2-preprocess

This command will show you core information about the python2-preprocess package.

yum deplist python2-preprocess

This command will show you the dependencies for python2-preprocess. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update python2-preprocess

This command will check if there is an update waiting on python2-preprocess. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.