Skip to content
This repository was archived by the owner on Mar 19, 2020. It is now read-only.

Commit 4692193

Browse files
Dwight Engenstgraber
Dwight Engen
authored andcommitted
support building rpm with python setup.py bdist_rpm
Signed-off-by: Dwight Engen <[email protected]> Acked-by: Stéphane Graber <[email protected]>
1 parent 9541b38 commit 4692193

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
MANIFEST
12
build/*
3+
dist/*
24
*.pyc

README

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
These are lxc bindings for python2.
2+
3+
Build: python setup.py build
4+
Install: python setup.py install
5+
Build rpm: python setup.py bdist_rpm

setup.cfg

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[bdist_rpm]
2+
group=System Environment/Libraries
3+
requires=lxc-libs

setup.py

+7-2
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,14 @@
2525

2626
module = Extension('_lxc', sources=['lxc.c'], libraries=['lxc'])
2727

28-
setup(name='_lxc',
28+
setup(name='lxc-python2',
2929
version='0.1',
30-
description='LXC',
30+
description='Python2 bindings for LXC',
31+
long_description='The lxc-python2 package contains lxc bindings for python2',
32+
license='LGPLv2+',
33+
maintainer='lxc',
34+
maintainer_email='[email protected]',
35+
url='git://github.com/lxc/python2-lxc',
3136
packages=['lxc'],
3237
package_dir={'lxc': 'lxc'},
3338
ext_modules=[module])

0 commit comments

Comments
 (0)