-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from hughsie/setup
Add Setup and other minor updates for a release
- Loading branch information
Showing
10 changed files
with
114 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,3 +55,4 @@ docs/_build/ | |
|
||
# PyBuilder | ||
target/ | ||
/tmp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
language: python | ||
|
||
python: | ||
- 2.7.13 | ||
|
||
install: | ||
- sudo apt-get install cabextract | ||
|
||
script: | ||
- python test.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[metadata] | ||
license_file = LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,46 @@ | ||
#!/usr/bin/env python | ||
import setuptools | ||
|
||
setuptools.setup( | ||
name="cabarchive", | ||
packages=["cabarchive"], | ||
from __future__ import absolute_import | ||
from __future__ import print_function | ||
|
||
from setuptools import setup | ||
|
||
# note: this is a repeat of the README, to evolve, good enough for now. | ||
long_desc = ''' | ||
If you want to parse Microsoft Cabinet files in Python you probably | ||
should just install gcab, and use the GObjectIntrospection bindings | ||
for that. GCab is a much better library than this and handles many more | ||
kinds of archive. | ||
If GCab is not available to you (e.g. you're trying to run in an | ||
OpenShift instance on RHEL 6.2), this project might be somewhat useful. | ||
Contributors welcome, either adding new functionality or fixing bugs. | ||
See also: https://msdn.microsoft.com/en-us/library/bb417343.aspx | ||
''' | ||
|
||
setup( | ||
name='cabarchive', | ||
version='0.1.0', | ||
license='LGPL-2.1-or-later', | ||
description='A pure-python library for creating and extracting cab files', | ||
long_description=long_desc, | ||
author='Richard Hughes', | ||
author_email='[email protected]', | ||
url='https://github.com/hughsie/python-cabarchive', | ||
packages=['cabarchive', ], | ||
include_package_data=True, | ||
zip_safe=False, | ||
classifiers=[ | ||
# complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers | ||
'Development Status :: 4 - Beta', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2.7', | ||
'Topic :: Utilities', | ||
'Topic :: System :: Archiving', | ||
], | ||
keywords=['cabextract', 'cab', 'archive', 'extract'], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters