mirror of
https://github.com/naruxde/revpimodio2.git
synced 2025-11-08 13:53:53 +01:00
Add __about__.py to handle version number of project in one place
This commit is contained in:
2
.idea/vcs.xml
generated
2
.idea/vcs.xml
generated
@@ -3,6 +3,8 @@
|
||||
<component name="CommitMessageInspectionProfile">
|
||||
<profile version="1.0">
|
||||
<inspection_tool class="BodyLimit" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="CommitFormat" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="CommitNamingConvention" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="SubjectBodySeparation" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="SubjectLimit" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
</profile>
|
||||
|
||||
6
setup.py
6
setup.py
@@ -7,19 +7,21 @@ __license__ = "LGPLv2"
|
||||
|
||||
from setuptools import setup, find_namespace_packages
|
||||
|
||||
from src.revpimodio2.__about__ import __version__
|
||||
|
||||
with open("README.md") as fh:
|
||||
# Load long description from readme file
|
||||
long_description = fh.read()
|
||||
|
||||
setup(
|
||||
name="revpimodio2",
|
||||
version="2.6.0rc4",
|
||||
version=__version__,
|
||||
|
||||
packages=find_namespace_packages("src"),
|
||||
package_dir={'': 'src'},
|
||||
include_package_data=True,
|
||||
|
||||
python_requires="~=3.2",
|
||||
python_requires=">= 3.2",
|
||||
install_requires=[],
|
||||
entry_points={},
|
||||
|
||||
|
||||
6
src/revpimodio2/__about__.py
Normal file
6
src/revpimodio2/__about__.py
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""Metadata of package."""
|
||||
__author__ = "Sven Sager <akira@revpimodio.org>"
|
||||
__copyright__ = "Copyright (C) 2023 Sven Sager"
|
||||
__license__ = "LGPLv2"
|
||||
__version__ = "2.6.0rc5"
|
||||
@@ -22,9 +22,8 @@ __all__ = [
|
||||
__author__ = "Sven Sager <akira@revpimodio.org>"
|
||||
__copyright__ = "Copyright (C) 2023 Sven Sager"
|
||||
__license__ = "LGPLv2"
|
||||
__package__ = "revpimodio2"
|
||||
__version__ = "2.6.0rc4"
|
||||
|
||||
from .__about__ import __version__
|
||||
from ._internal import *
|
||||
from .helper import Cycletools, EventCallback
|
||||
from .io import IOEvent
|
||||
|
||||
Reference in New Issue
Block a user