GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Don't add a setup.cfg to the tarball · feisuo/matplotlib@03e0936

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • setup.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎setup.py‎

Copy file name to clipboardExpand all lines: setup.py
+10-1Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,16 @@
3636
except ImportError:
3737
from distutils.core import setup
3838

39+
# The setuptools version of sdist adds a setup.cfg file to the tree.
40+
# We don't want that, so we simply remove it, and it will fall back to
41+
# vanilla distutils.
42+
try:
43+
from setuptools.command import sdist
44+
except ImportError:
45+
pass
46+
else:
47+
del sdist.sdist.make_release_tree
48+
3949
import setupext
4050
from setupext import print_line, print_raw, print_message, print_status
4151

@@ -228,5 +238,4 @@
228238
# Telling setuptools this prevents it from doing an automatic
229239
# check for zip safety.
230240
zip_safe=False,
231-
232241
)

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.