Switch to PEP440 versioning and correct setup.py paths

pull/1720/head
Fritz Otlinghaus 4 years ago
parent 42c13ae135
commit eb5731057c
No known key found for this signature in database
GPG Key ID: 1E5F98946FB1444E

@ -129,7 +129,7 @@ def selected_roles(dictionary):
BookMeta = namedtuple('BookMeta', 'file_path, extension, title, author, cover, description, tags, series, '
'series_id, languages')
STABLE_VERSION = {'version': '0.6.10 Beta'}
STABLE_VERSION = {'version': '0.6.10b1'}
NIGHTLY_VERSION = {}
NIGHTLY_VERSION[0] = '$Format:%H$'

@ -40,7 +40,7 @@ def find_version(*file_paths):
raise RuntimeError("Unable to find version string.")
setup(
packages=find_packages("src"),
package_dir = {'': 'src'},
version=find_version("src", "calibreweb", "cps", "constants.py")
packages=find_packages("./"),
package_dir = {'': './'},
version=find_version("cps", "constants.py")
)

Loading…
Cancel
Save