Re: [PATCH libvirt-python 17/17] Setup distutils buld system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/09/2013 10:01 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> Create a setup.py for building libvirt python code and add
> supporting files
> 
> Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
> ---
>  .gitignore             |   4 +
>  AUTHORS.in             |  12 ++
>  COPYING                | 339 +++++++++++++++++++++++++++++++++
>  COPYING.LESSER         | 502 +++++++++++++++++++++++++++++++++++++++++++++++++
>  MANIFEST.in            |  25 +++
>  NEWS                   |   9 +
>  autobuild.sh           |  25 +++
>  libvirt-python.spec.in |  34 ++++
>  setup.py               | 294 +++++++++++++++++++++++++++++
>  9 files changed, 1244 insertions(+)
>  create mode 100644 .gitignore
>  create mode 100644 AUTHORS.in
>  create mode 100644 COPYING
>  create mode 100644 COPYING.LESSER
>  create mode 100644 MANIFEST.in
>  create mode 100644 NEWS
>  create mode 100755 autobuild.sh
>  create mode 100644 libvirt-python.spec.in
>  create mode 100644 setup.py

I'm not a setup.py expert, and this is more of a cursory review.
Overall, I like where the series is headed, but think we have some work
to do before actually doing the split.


> +++ b/.gitignore
> @@ -0,0 +1,4 @@
> +build/
> +dist/
> +MANIFEST
> +*~
> \ No newline at end of file

Whoops.

> diff --git a/AUTHORS.in b/AUTHORS.in
> new file mode 100644
> index 0000000..cee329e
> --- /dev/null
> +++ b/AUTHORS.in
> @@ -0,0 +1,12 @@
> +  Libvirt Python Binding Authors
> +  ==============================
> +
> +The libvirt python binding is maintained by the
> +libvirt development team, who can be contacted
> +at

Any reason this is wrapped
at such a narrow width?  Three
lines feels a bit excessive.

> +++ b/NEWS
> @@ -0,0 +1,9 @@
> + Libvirt Python News
> + ===================
> +
> +
> +Release 1.1.2
> +=============

First release will be 1.1.3.

> diff --git a/setup.py b/setup.py
> new file mode 100644

Does this file need 'chmod +x'?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]