Renamed package to simpler distribution
This commit is contained in:
parent
66ccc7dc3f
commit
7e6f39aecf
6
setup.py
6
setup.py
|
@ -3,15 +3,13 @@ import re
|
|||
|
||||
from setuptools import setup
|
||||
|
||||
PACKAGE_NAME = 'socials-util'
|
||||
|
||||
PACKAGE_PATH = PACKAGE_NAME.replace('-', '_')
|
||||
PACKAGE_NAME = 'socials_util'
|
||||
|
||||
|
||||
with open('README.md') as f:
|
||||
readme = f.read()
|
||||
|
||||
with open(PACKAGE_PATH + '/_version.py') as f:
|
||||
with open(PACKAGE_NAME + '/_version.py') as f:
|
||||
text = f.read()
|
||||
match = re.match(r'^__version__\s*=\s*(["\'])([\d\.]+)\1$', text)
|
||||
version = match.group(2)
|
||||
|
|
Loading…
Reference in New Issue
Block a user