This repository was archived by the owner on Aug 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed
Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 3636from typing import Optional
3737import urllib .parse
3838from xml .dom import minidom
39- from version import __version__
4039
4140import jinja2
4241import requests
4342
4443from pybadges import text_measurer
4544from pybadges import precalculated_text_measurer
45+ from pybadges .version import __version__
4646
4747
4848_JINJA2_ENVIRONMENT = jinja2 .Environment (
Original file line number Diff line number Diff line change 2222import sys
2323import tempfile
2424import webbrowser
25+
2526import pybadges
26- from version import __version__
27+ from pybadges . version import __version__
2728
2829
2930def main ():
3031 parser = argparse .ArgumentParser (
32+ 'pybadges' ,
3133 description = 'generate a github-style badge given some text and colors' )
3234
3335 parser .add_argument (
Original file line number Diff line number Diff line change 1111# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212# See the License for the specific language governing permissions and
1313# limitations under the License.
14- __version__ = '2.2.0'
14+
15+ __version__ = '2.2.1' # Also change in setup.py.
Original file line number Diff line number Diff line change 1818import re
1919
2020from setuptools import setup
21- from distutils2 import get_version
2221
2322def get_long_description ():
2423 """Transform README.md into a usable long description.
@@ -41,7 +40,7 @@ def replace_relative_with_absolute(match):
4140
4241setup (
4342 name = 'pybadges' ,
44- version = get_version ( 'pybadges/version.py' ),
43+ version = '2.2.1' , # Also change in version.py.
4544 author = 'Brian Quinlan' ,
4645 author_email = 'brian@sweetapp.com' ,
4746 classifiers = [
You can’t perform that action at this time.
0 commit comments