diff --git a/.gitignore b/.gitignore index a0114d3..c3be7ff 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ +MANIFEST build/* +dist/* *.pyc diff --git a/README b/README new file mode 100644 index 0000000..7e0b49e --- /dev/null +++ b/README @@ -0,0 +1,5 @@ +These are lxc bindings for python2. + +Build: python setup.py build +Install: python setup.py install +Build rpm: python setup.py bdist_rpm diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..74b012a --- /dev/null +++ b/setup.cfg @@ -0,0 +1,3 @@ +[bdist_rpm] +group=System Environment/Libraries +requires=lxc-libs diff --git a/setup.py b/setup.py index b2cfefe..4e19fdc 100644 --- a/setup.py +++ b/setup.py @@ -25,9 +25,14 @@ from distutils.core import setup, Extension module = Extension('_lxc', sources=['lxc.c'], libraries=['lxc']) -setup(name='_lxc', +setup(name='lxc-python2', version='0.1', - description='LXC', + description='Python2 bindings for LXC', + long_description='The lxc-python2 package contains lxc bindings for python2', + license='LGPLv2+', + maintainer='lxc', + maintainer_email='lxc-devel@lists.linuxcontainers.org', + url='git://github.com/lxc/python2-lxc', packages=['lxc'], package_dir={'lxc': 'lxc'}, ext_modules=[module])