Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

Move the version number from setup.py to bitfield/__init__.py #1

Merged
merged 1 commit into from
Jul 18, 2018

Conversation

andersk
Copy link
Member

@andersk andersk commented Jul 18, 2018

This avoids the runtime cost of importing pkg_resources, which is typically in the hundreds of milliseconds. It also fixes a problem where the version number was not being found at all, because the distribution name is django-bitfield, not bitfield.

Fixes disqus#69.

This avoids the runtime cost of importing pkg_resources, which is
typically in the hundreds of milliseconds.  It also fixes a problem
where the version number was not being found at all, because the
distribution name is django-bitfield, not bitfield.

Fixes disqus#69.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
andersk added a commit to andersk/zulip that referenced this pull request Jul 18, 2018
andersk added a commit to andersk/zulip that referenced this pull request Jul 18, 2018
@timabbott timabbott merged commit 96e5150 into master Jul 18, 2018
ljagielski2 pushed a commit to ljagielski2/zulip that referenced this pull request Aug 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants