Fix default dist filename for release task
not sure why this fix was needed, did setuptools behavior change? and stop declaring explicit support for python 3.5, that makes no sense
This commit is contained in:
parent
284e55c05c
commit
be728e9bb3
|
@ -17,7 +17,6 @@ classifiers =
|
|||
Natural Language :: English
|
||||
Operating System :: OS Independent
|
||||
Programming Language :: Python :: 3
|
||||
Programming Language :: Python :: 3.5
|
||||
Topic :: System :: Systems Administration
|
||||
Topic :: Software Development :: Libraries :: Python Modules
|
||||
|
||||
|
|
6
tasks.py
6
tasks.py
|
@ -2,7 +2,7 @@
|
|||
################################################################################
|
||||
#
|
||||
# Rattail -- Retail Software Framework
|
||||
# Copyright © 2010-2020 Lance Edgar
|
||||
# Copyright © 2010-2024 Lance Edgar
|
||||
#
|
||||
# This file is part of Rattail.
|
||||
#
|
||||
|
@ -24,8 +24,6 @@
|
|||
Tasks for rattail-fabric2
|
||||
"""
|
||||
|
||||
from __future__ import unicode_literals, absolute_import
|
||||
|
||||
import os
|
||||
import shutil
|
||||
|
||||
|
@ -46,4 +44,4 @@ def release(c):
|
|||
# TODO: what i esp. don't like is, this doesn't consider .gitignore
|
||||
c.run("find . -name '*~' -delete")
|
||||
c.run('python setup.py sdist --formats=gztar')
|
||||
c.run('twine upload dist/rattail-fabric2-{}.tar.gz'.format(__version__))
|
||||
c.run(f'twine upload dist/rattail_fabric2-{__version__}.tar.gz')
|
||||
|
|
Loading…
Reference in a new issue