Changeset - be728e9bb310
[Not reviewed]
0 2 0
Lance Edgar - 6 months ago 2024-05-31 17:44:56
lance@edbob.org
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
2 files changed with 2 insertions and 5 deletions:
0 comments (0 inline, 0 general) First comment
setup.cfg
Show inline comments
 
@@ -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
 

	
tasks.py
Show inline comments
 
@@ -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')
0 comments (0 inline, 0 general) First comment
You need to be logged in to comment. Login now