Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Delete optimize setting from setup.cfg, as it causes .pyc files to be included in the wheel#89

Merged
amcgregor merged 1 commit intomarrow:developmarrow/mailer:developfrom
jwodder:remove-pycsCopy head branch name to clipboard
Apr 22, 2020
Merged

Delete optimize setting from setup.cfg, as it causes .pyc files to be included in the wheel#89
amcgregor merged 1 commit intomarrow:developmarrow/mailer:developfrom
jwodder:remove-pycsCopy head branch name to clipboard

Conversation

@jwodder
Copy link
Copy Markdown
Contributor

@jwodder jwodder commented Mar 6, 2020

The project's setup.cfg currently contains the lines:

[install]
optimize = 1

This has the side effect of causing optimized *.pyc files to be compiled & included in the wheel generated by the bdist_wheel command. Such files have no business being in a wheel, as (a) the files are machine-specific and thus won't be of use to most users, and (b) pip compiles its own set of *.pyc files when installing from a wheel anyway. The setting is also of marginal utility to begin with, as it its intended purpose only takes effect when installing with setup.py install, which is deprecated in favor of installing with pip. This PR thus removes the above lines from setup.cfg.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 6, 2020

Codecov Report

Merging #89 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop      #89   +/-   ##
========================================
  Coverage    53.43%   53.43%           
========================================
  Files           25       25           
  Lines         1252     1252           
========================================
  Hits           669      669           
  Misses         583      583

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4208b07...959b56c. Read the comment docs.

@amcgregor amcgregor added 2.enhancement A request for a new feature or altered behaviour. need:optimization Performance or resource utilization requires optimization. labels Apr 22, 2020
@amcgregor amcgregor merged commit 20f10a5 into marrow:develop Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.enhancement A request for a new feature or altered behaviour. need:optimization Performance or resource utilization requires optimization.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.