From c265713c9d8e8bfd9e973a24abac720b35d986dc Mon Sep 17 00:00:00 2001 From: Patricia Morimoto Date: Tue, 16 Jul 2019 17:05:05 -0300 Subject: [PATCH 1/3] Corrige problema na leitura do README.md --- README.rst | 56 ------------------------------------------------------ setup.py | 5 +---- 2 files changed, 1 insertion(+), 60 deletions(-) delete mode 100644 README.rst diff --git a/README.rst b/README.rst deleted file mode 100644 index 1344883..0000000 --- a/README.rst +++ /dev/null @@ -1,56 +0,0 @@ -=============================== -legendarium -=============================== - - -.. image:: https://img.shields.io/pypi/v/legendarium.svg - :target: https://pypi.python.org/pypi/legendarium - -.. image:: https://img.shields.io/travis/jamilatta/legendarium.svg - :target: https://travis-ci.org/jamilatta/legendarium - -.. image:: https://readthedocs.org/projects/legendarium/badge/?version=latest - :target: https://legendarium.readthedocs.io/en/latest/?badge=latest - :alt: Documentation Status - -.. image:: https://pyup.io/repos/github/jamilatta/legendarium/shield.svg - :target: https://pyup.io/repos/github/jamilatta/legendarium/ - :alt: Updates - - -Python library to handle SciELO`s bibliographic legend - - -* Free software: BSD license -* Documentation: https://legendarium.readthedocs.io. - - - -Develop API Usage ---------- - -
-
->>>from legendarium import Legendarium
->>>leg_dict = {'acron_title': 'Rev.Mal-Estar Subj', 'year_pub': '2011', 'volume': '67', 'number': '9', 'fpage': '154', 'lpage':'200', 'article_id':'e00120416'}
->>>leg = Legendarium(**leg_dict)
->>>leg.stamp
->>>Rev.Mal-Estar Subj 2011;67(9):154-200
-
-
- - -For develop version -==================== - --e git+git@github.com:scieloorg/legendarium#egg=legendarium - - -Credits ---------- - -This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template. - -.. _Cookiecutter: https://github.com/audreyr/cookiecutter -.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage - diff --git a/setup.py b/setup.py index 2502ff6..3ffdfbb 100644 --- a/setup.py +++ b/setup.py @@ -6,9 +6,6 @@ with open('README.md') as readme_file: readme = readme_file.read() -with open('HISTORY.rst') as history_file: - history = history_file.read() - requirements = [ # TODO: put package requirements here ] @@ -19,7 +16,7 @@ setup( name='legendarium', - version='2.0.4', + version='2.0.5', description="Python library to handle SciELO's bibliographic legend", long_description=readme, long_description_content_type="text/markdown", From 21fd2da83ed8fa1c633e6f827d97ac652f3ae540 Mon Sep 17 00:00:00 2001 From: Patricia Morimoto Date: Tue, 16 Jul 2019 17:48:37 -0300 Subject: [PATCH 2/3] =?UTF-8?q?Reorganiza=C3=A7=C3=A3o=20do=20pacote=20mon?= =?UTF-8?q?tado=20p/=20o=20PyPi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MANIFEST.in | 9 ++------- setup.py | 12 +++++------- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index ebf1b56..c52b99f 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,14 +1,9 @@ - include AUTHORS.rst include CONTRIBUTING.rst include HISTORY.rst include LICENSE -include README.rst include README.md -recursive-include tests * -recursive-exclude * __pycache__ -recursive-exclude * *.py[co] - -recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif +recursive-exclude tests * +recursive-exclude docs * diff --git a/setup.py b/setup.py index 3ffdfbb..f5b6845 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -from setuptools import setup +from setuptools import setup, find_packages with open('README.md') as readme_file: readme = readme_file.read() @@ -17,17 +17,15 @@ setup( name='legendarium', version='2.0.5', - description="Python library to handle SciELO's bibliographic legend", + description="Python library to handle SciELO's bibliographic strip", long_description=readme, long_description_content_type="text/markdown", author="Jamil Atta Junior", author_email='jamil.atta@scielo.org', url='https://github.com/scieloorg/legendarium', - packages=[ - 'legendarium', - ], - package_dir={'legendarium': - 'legendarium'}, + packages=find_packages( + exclude=["*.tests", "*.tests.*", "tests.*", "tests", "docs"] + ), include_package_data=True, install_requires=requirements, license="BSD license", From 183f94497bd2ae0d106f55f35209fd0e366e2c29 Mon Sep 17 00:00:00 2001 From: Patricia Morimoto Date: Wed, 17 Jul 2019 15:57:06 -0300 Subject: [PATCH 3/3] =?UTF-8?q?Removido=20conte=C3=BAdo=20desnecess=C3=A1r?= =?UTF-8?q?io=20do=20=5F=5Finit=5F=5F.py=20do=20pacote?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- legendarium/__init__.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/legendarium/__init__.py b/legendarium/__init__.py index 138e4d4..e69de29 100644 --- a/legendarium/__init__.py +++ b/legendarium/__init__.py @@ -1,5 +0,0 @@ -# -*- coding: utf-8 -*- - -__author__ = 'Jamil Atta Junior' -__email__ = 'jamil.atta@scielo.org' -__version__ = '2.0.4'