Skip to content

Commit

Permalink
Preparing release 0.3.0 (start using zest.releaser)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloCastellano committed Mar 12, 2018
1 parent 2b52462 commit 3ee59d7
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 48 deletions.
55 changes: 27 additions & 28 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
Changelog
=========
Changelog for bormeparser
=========================

Version 0.3.0 [unreleased]
--------------------------
0.3.0 (2018-03-12)
------------------

- Eliminado soporte de Python 2
- Cambios en el formato BORME-JSON
- Parser thread-safe (issue #7)
- Nombres de actos repetidos en el mismo anuncio (issue #3)
- Usar requests en lugar de urllib
- Archivo de configuración ~/.bormecfg
Expand All @@ -21,8 +20,8 @@ Version 0.3.0 [unreleased]
- Borme.XML devuelve str en lugar de list si solo hay un elemento
- BormeXML.get_provincias

Version 0.2.4 [2016-09-21]
--------------------------
0.2.4 (2016-09-21)
------------------

- BormeXML: get_url_pdfs, get_cves y get_sizes ahora permiten especificar sección y provincia
- Nueva constante ALL_PROVINCIAS en bormeparser.provincia
Expand All @@ -31,23 +30,23 @@ Version 0.2.4 [2016-09-21]
- Mejoras menores en la documentación
- Nuevos campos "version" y "raw_version" en el formato JSON de BORME

Version 0.2.3 [2016-04-26]
--------------------------
0.2.3 (2016-04-26)
------------------

- Mejora en el parser de BORME C

Version 0.2.2 [2016-04-26]
--------------------------
0.2.2 (2016-04-26)
------------------

- Mejoras en el parser de BORME C

Version 0.2.1 [2016-04-25]
--------------------------
0.2.1 (2016-04-25)
------------------

- Corregidos fallos de compatibilidad con Python 2

Version 0.2 [2016-04-25]
------------------------
0.2 (2016-04-25)
----------------

- Eliminado primer argumento "date" de BormeXML.get_url_pdfs()
- Nuevo método: BormeXML.get_urls_cve()
Expand All @@ -60,14 +59,14 @@ Version 0.2 [2016-04-25]
- script download_borme_pdfs_C.py
- Mejora parsing de cargos repetidos en el mismo acto (issue #4)

Version 0.1.5 [2015-09-25]
--------------------------
0.1.5 (2015-09-25)
------------------

- Añadidos nuevos cargos
- Mejoras en setuptools

Version 0.1.4 [2015-09-24]
--------------------------
0.1.4 (2015-09-24)
------------------

- Grandes mejoras en el parser en general
- Añadidos cargos y actos nuevos
Expand All @@ -81,26 +80,26 @@ Version 0.1.4 [2015-09-24]
- Más tests
- Actualización de los requisitos

Version 0.1.3 [2015-08-08]
--------------------------
0.1.3 (2015-08-08)
------------------

- Fixed missing packages that weren't distributed

Version 0.1.2 [2015-08-07]
--------------------------
0.1.2 (2015-08-07)
------------------

- Fixed UnicodeWarning that caused tests to fail in Python 2

Version 0.1.1 [2015-08-07]
--------------------------
0.1.1 (2015-08-07)
------------------

- setup.py install now installs requirements

Version 0.1 [2015-08-07]
------------------------
0.1 (2015-08-07)
----------------

- First release
- Download and parse BORME PDF files
- Main parser is PyPDF2
- Main parser is PyPDF2
- Python 2 and 3 support
- Tests suite
3 changes: 0 additions & 3 deletions bormeparser/version.py

This file was deleted.

1 change: 1 addition & 0 deletions requirements/development.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
-r base.txt
bpython==0.17.1
coverage==4.5.1
zest.releaser==6.13.5
21 changes: 4 additions & 17 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
from glob import glob
from setuptools import setup, find_packages

sys.path.insert(0, 'bormeparser')
from version import __version__, __license__
sys.path.remove('bormeparser')
version = "0.3.0"


def get_install_requires():
Expand All @@ -27,17 +25,6 @@ def get_install_requires():
return requirements


if sys.version_info[0] == 3:
long_description = open('README.md', encoding='utf-8').read()
else:
long_description = open('README.md').read()

if sys.argv[-1] == 'publish':
os.system("python setup.py sdist bdist_wheel upload -s")
print("You probably want to also tag the version now:")
print(" git tag -s -a v{version}".format(version=__version__))
print(" git push --tags")
sys.exit()

try:
os.symlink('../examples', 'bormeparser/examples')
Expand All @@ -50,9 +37,9 @@ def get_install_requires():
package_data={
"bormeparser": glob("examples/*")
},
version=__version__,
version=version,
description="bormeparser is a Python library for parsing BORME files",
long_description=long_description,
long_description=open('README.md', encoding='utf-8').read(),
author='Pablo Castellano',
author_email='pablo@anche.no',
url='https://github.com/PabloCastellano/bormeparser/',
Expand All @@ -61,7 +48,7 @@ def get_install_requires():
classifiers=[
'Programming Language :: Python :: 3',
],
license=__license__,
license="GPLv3+",
data_files=[('', ['LICENSE.txt'])],
include_package_data=True,
zip_safe=False,
Expand Down

0 comments on commit 3ee59d7

Please sign in to comment.