Skip to content

Commit

Permalink
Renamed package like recommended in readme.md and added a example of …
Browse files Browse the repository at this point in the history
…how to create a rpm out of the source code with python module "setuptools" (#5)
  • Loading branch information
dn1s authored and dagwieers committed Nov 3, 2016
1 parent 3dac301 commit 2ba9333
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
9 changes: 9 additions & 0 deletions README.md
Expand Up @@ -111,6 +111,15 @@ Packaging guidelines
Please package this software using the name "python-vmguestlib" on all platforms,
and include the vmguest-stats utility as-is.

With python comes a packaging tool: setuptools.
https://pypi.python.org/pypi/setuptools
Example for rpm:
```
git clone https://github.com/dagwieers/vmguestlib.git
cd vmguestlib
python setup.py bdist_rpm
```


Author and license
------------------
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Expand Up @@ -10,7 +10,7 @@
if __name__ == '__main__':

setup(
name = 'vmguestlib',
name = 'python-vmguestlib',
version = '0.1.2',
author='Dag Wieers',
author_email='dag@wieers.com',
Expand Down Expand Up @@ -45,7 +45,9 @@
'Topic :: System :: Systems Administration',
'Topic :: Utilities'
],
long_description='Python API for interacting with VMware\'s VMGuestLib SDK',
long_description='''Python API for interacting with VMware\'s VMGuestLib SDK
This software is (c) 2013-2014 Dag Wieers dag@wieers.com
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.''',
)

# vim:ts=4:sw=4:et

0 comments on commit 2ba9333

Please sign in to comment.