Skip to content

Commit

Permalink
Remove unnecessary publish command; don't put full license in pypi me…
Browse files Browse the repository at this point in the history
…tadata

Also update copyright
  • Loading branch information
sloria committed Jun 18, 2017
1 parent 32f8893 commit 1757ff6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Install

::

pip install flask-apispec
pip install flask-apispec

Quickstart
----------
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
source_suffix = '.rst'
master_doc = 'index'
project = 'flask-apispec'
copyright = 'Joshua Carp {0:%Y}'.format(dt.datetime.utcnow())
copyright = 'Joshua Carp and contributors {0:%Y}'.format(dt.datetime.utcnow())

version = release = flask_apispec.__version__

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def read(fname):
package_dir={'flask_apispec': 'flask_apispec'},
include_package_data=True,
install_requires=REQUIRES,
license=read('LICENSE'),
license='MIT',
zip_safe=False,
keywords='flask marshmallow webargs apispec',
classifiers=[
Expand Down
12 changes: 0 additions & 12 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,3 @@ def readme(ctx, browse=False):
ctx.run("rst2html.py README.rst > README.html")
if browse:
webbrowser.open_new_tab('README.html')

@task
def publish(ctx, test=False):
"""Publish to the cheeseshop."""
clean(ctx)
install(ctx)
if test:
ctx.run('python setup.py register -r test sdist bdist_wheel', echo=True)
ctx.run('twine upload dist/* -r test', echo=True)
else:
ctx.run('python setup.py register sdist bdist_wheel', echo=True)
ctx.run('twine upload dist/*', echo=True)

0 comments on commit 1757ff6

Please sign in to comment.