Skip to content

Commit

Permalink
Merge pull request #122 from andriyor/master
Browse files Browse the repository at this point in the history
Add Documentation URL for PyPI and use README to power long_description
  • Loading branch information
mahmoud authored Nov 14, 2019
2 parents 12e0555 + 8ed9a88 commit 15d3eca
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 26 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include README.md LICENSE CHANGELOG.md tox.ini requirements-test.txt .coveragerc Makefile pytest.ini .tox-coveragerc
include LICENSE CHANGELOG.md tox.ini requirements.txt requirements-rtd.txt .coveragerc Makefile pytest.ini .tox-coveragerc
exclude TODO.md appveyor.yml
global-exclude flycheck_*

Expand Down
31 changes: 10 additions & 21 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,41 +1,30 @@
"""*glom gets results.*
To be more precise, glom helps pull together objects from other
objects in a declarative, dynamic, and downright simple way.
Built with services, APIs, and general serialization in mind, glom
helps filter objects as well as perform deep fetches which would be
tedious to perform in a procedural manner.
Where "schema" and other libraries focus on validation and parsing
less-structured data into Python objects, glom goes the other
direction, producing more-readily serializable data from valid
higher-level objects.
"""

from setuptools import setup


__author__ = 'Mahmoud Hashemi and Kurt Rose'
__version__ = '19.10.1dev'
__contact__ = '[email protected]'
__url__ = 'https://github.com/mahmoud/glom'
__license__ = 'BSD'

with open('README.md') as read_me:
long_description = read_me.read()

setup(name='glom',
version=__version__,
description="A declarative object transformer and formatter, for conglomerating nested data.",
long_description=__doc__,
long_description=long_description,
long_description_content_type='text/markdown',
author=__author__,
author_email=__contact__,
url=__url__,
project_urls={
'Documentation': 'https://glom.readthedocs.io/en/latest/',
},
packages=['glom', 'glom.test'],
install_requires=['boltons>=19.3.0', 'attrs', 'face'],
extras_require = {
'yaml': ['PyYAML'],
},
extras_require={
'yaml': ['PyYAML'],
},
entry_points={'console_scripts': ['glom = glom.cli:console_main']},
include_package_data=True,
zip_safe=False,
Expand Down
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ commands = coverage combine --rcfile {toxinidir}/.tox-coveragerc
[testenv:packaging]
changedir = {toxinidir}
deps =
check-manifest==0.35
readme_renderer==17.2
check-manifest==0.40
commands =
# check-manifest
python setup.py check --metadata --restructuredtext --strict
check-manifest

0 comments on commit 15d3eca

Please sign in to comment.