-
Notifications
You must be signed in to change notification settings - Fork 71
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 #49 from matiasb/preparing-0.5.5
Minor updates preparing release.
- Loading branch information
Showing
15 changed files
with
117 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
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ include bin/* | |
include tests/samples/* | ||
include HISTORY | ||
include LICENSE | ||
include README.md | ||
include README.rst |
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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
[bdist_wheel] | ||
universal=1 | ||
|
||
[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,23 +1,47 @@ | ||
# -*- coding: utf-8 -*- | ||
# Author: Matías Bordese | ||
|
||
from __future__ import unicode_literals | ||
import codecs | ||
import os | ||
|
||
from setuptools import setup, find_packages | ||
from setuptools import find_packages, setup | ||
|
||
|
||
# metadata | ||
NAME = 'unidiff' | ||
DESCRIPTION = 'Unified diff parsing/metadata extraction library.' | ||
KEYWORDS = ['unified', 'diff', 'parse', 'metadata'] | ||
URL = 'http://github.com/matiasb/python-unidiff' | ||
EMAIL = '[email protected]' | ||
AUTHOR = 'Matias Bordese' | ||
LICENSE = 'MIT' | ||
|
||
HERE = os.path.abspath(os.path.dirname(__file__)) | ||
|
||
# use README as the long-description | ||
with codecs.open(os.path.join(HERE, 'README.rst'), "rb", "utf-8") as f: | ||
long_description = f.read() | ||
|
||
|
||
# load __version__.py module as a dictionary | ||
about = {} | ||
with open(os.path.join(HERE, 'unidiff/__version__.py')) as f: | ||
exec(f.read(), about) | ||
|
||
from unidiff import VERSION | ||
|
||
setup( | ||
name='unidiff', | ||
version=VERSION, | ||
description="Unified diff parsing/metadata extraction library.", | ||
keywords='unified diff parse metadata', | ||
author='Matias Bordese', | ||
author_email='[email protected]', | ||
url='http://github.com/matiasb/python-unidiff', | ||
license='MIT', | ||
packages=find_packages(exclude=['tests']), | ||
name=NAME, | ||
version=about['__version__'], | ||
description=DESCRIPTION, | ||
long_description=long_description, | ||
keywords=KEYWORDS, | ||
author=AUTHOR, | ||
author_email=EMAIL, | ||
url=URL, | ||
packages=find_packages(exclude=('tests',)), | ||
scripts=['bin/unidiff'], | ||
include_package_data=True, | ||
license=LICENSE, | ||
classifiers=[ | ||
'Intended Audience :: Developers', | ||
'Development Status :: 4 - Beta', | ||
|
@@ -26,6 +50,7 @@ | |
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.3', | ||
'Programming Language :: Python :: 3.4', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6', | ||
], | ||
test_suite='tests', | ||
) |
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,24 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
# The MIT License (MIT) | ||
# Copyright (c) 2014-2017 Matias Bordese | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in | ||
# all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | ||
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR | ||
# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE | ||
# OR OTHER DEALINGS IN THE SOFTWARE. | ||
|
||
__version__ = '0.5.5' |
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