1
0

Compare commits

..

No commits in common. "7e6f39aecff17ca24820a97882dfe66b4d0b2197" and "aa925275f1e40013228b903106efbac157ba2f59" have entirely different histories.

2 changed files with 5 additions and 3 deletions

View File

@ -3,13 +3,15 @@ import re
from setuptools import setup from setuptools import setup
PACKAGE_NAME = 'socials_util' PACKAGE_NAME = 'socials-util'
PACKAGE_PATH = PACKAGE_NAME.replace('-', '_')
with open('README.md') as f: with open('README.md') as f:
readme = f.read() readme = f.read()
with open(PACKAGE_NAME + '/_version.py') as f: with open(PACKAGE_PATH + '/_version.py') as f:
text = f.read() text = f.read()
match = re.match(r'^__version__\s*=\s*(["\'])([\d\.]+)\1$', text) match = re.match(r'^__version__\s*=\s*(["\'])([\d\.]+)\1$', text)
version = match.group(2) version = match.group(2)

View File

@ -1 +1 @@
__version__ = '0.1.3' __version__ = '0.1.2'