[CRIU] [PATCH 8/9] crit: add setup.py

Pavel Emelyanov xemul at parallels.com
Wed Oct 8 09:07:34 PDT 2014


On 10/08/2014 02:35 PM, Ruslan Kuprieiev wrote:
> This is a small python scipt that uses distutils to install crit script
> and pycriu package.

I'm not happy with such a generic name being located in sources root dir.
Why do we need it at all? It's not going to be development package.

> Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
> ---
>  setup.py | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>  create mode 100644 setup.py
> 
> diff --git a/setup.py b/setup.py
> new file mode 100644
> index 0000000..d3de681
> --- /dev/null
> +++ b/setup.py
> @@ -0,0 +1,11 @@
> +from distutils.core import setup
> +
> +setup(name = "crit",
> +      version = "0.0.1",
> +      description = "CRiu Image Tool",
> +      author = "Ruslan Kuprieiev",
> +      author_email = "kupruser at gmail.com",
> +      url = "https://github.com/xemul/criu",
> +      packages = ["pycriu"],
> +      scripts = ["crit"]
> +      )
> 



More information about the CRIU mailing list