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

Ruslan Kuprieiev kupruser at gmail.com
Wed Oct 8 09:18:59 PDT 2014


On 08.10.2014 19:07, Pavel Emelyanov wrote:
> 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.

I see... Looks like it can be renamed to anything. I'll rename it to 
crit_install.py
or smth like that.
We need that script to install python script + modules in a proper way.
We can install all files by hand, but it doesn't look nice.

>> 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