Use setuptools_scm to simplify versioning during release
This commit is contained in:
parent
364f72f827
commit
ad2f9cbaa2
5 changed files with 30 additions and 47 deletions
|
@ -33,13 +33,13 @@ from http.client import HTTPSConnection
|
|||
from urllib.parse import quote_plus
|
||||
from xml.dom import Node, minidom
|
||||
|
||||
from . import version
|
||||
import pkg_resources
|
||||
|
||||
__author__ = "Amr Hassan, hugovk, Mice Pápai"
|
||||
__copyright__ = "Copyright (C) 2008-2010 Amr Hassan, 2013-2019 hugovk, 2017 Mice Pápai"
|
||||
__license__ = "apache2"
|
||||
__email__ = "amr.hassan@gmail.com"
|
||||
__version__ = version.__version__
|
||||
__version__ = pkg_resources.get_distribution(__name__).version
|
||||
|
||||
|
||||
# 1 : This error does not exist
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
# Master version for pylast
|
||||
__version__ = "3.2.0.dev0"
|
Loading…
Add table
Add a link
Reference in a new issue