]> git.madduck.net Git - etc/vim.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

setup.py: rename _version.py to _black_version.py (#1089)
authorMichael McClimon <michael@mcclimon.org>
Thu, 24 Oct 2019 04:15:12 +0000 (00:15 -0400)
committerJelle Zijlstra <jelle.zijlstra@gmail.com>
Thu, 24 Oct 2019 04:15:12 +0000 (21:15 -0700)
commit8ea13474a6d8dd6065d19a044477c02785424f18
treed1bc992edb0e997cd36129aee3e4e4eaef13ae96
parenta701659da2e2b8cc5abca2c6c7c97832551627c0
setup.py: rename _version.py to _black_version.py (#1089)

In #1082, _version.py was renamed to _black_version.py, but the
py_modules line in setup.py wasn't changed, which meant that when
installed from source, running it failed with something like:

```
Traceback (most recent call last):
  File "~/.pyenv/versions/3.6.5/bin/black", line 5, in <module>
    from black import patched_main
  File "~/.pyenv/versions/3.6.5/lib/python3.6/site-packages/black.py", line 55, in <module>
    from _black_version import version as __version__
ModuleNotFoundError: No module named '_black_version'
```
setup.py