[feat] Structure
This commit is contained in:
10
groupid/__init__.py
Normal file
10
groupid/__init__.py
Normal file
@@ -0,0 +1,10 @@
|
||||
"""Organisation package for unicity of namespace.
|
||||
|
||||
In each python archive, this package should contain only the actual module package and this file that allows merging of
|
||||
python sub-packages
|
||||
|
||||
.. seealso:: https://stackoverflow.com/questions/26058978/
|
||||
"""
|
||||
|
||||
from pkgutil import extend_path
|
||||
__path__ = extend_path(__path__, __name__)
|
||||
0
groupid/artifactid/DESCRIPTION.md
Normal file
0
groupid/artifactid/DESCRIPTION.md
Normal file
12
groupid/artifactid/__init__.py
Normal file
12
groupid/artifactid/__init__.py
Normal file
@@ -0,0 +1,12 @@
|
||||
"""Python project specific package.
|
||||
|
||||
"""
|
||||
|
||||
# Project constants for reference throughout the project.
|
||||
from pathlib import Path
|
||||
|
||||
PACKAGE_NAME = "groupid-artifactid"
|
||||
PACKAGE_DESCRIPTION = "Some one-liner description of the package purpose."
|
||||
PACKAGE_VERSION = "1.0.0"
|
||||
PACKAGE_LONG_DESCRIPTION = open(str(Path(__file__).parent)+"/DESCRIPTION.md").read()
|
||||
PACKAGE_MAINTAINER_CONTACT = "someone@somewhere.com"
|
||||
6
groupid/artifactid/app.py
Normal file
6
groupid/artifactid/app.py
Normal file
@@ -0,0 +1,6 @@
|
||||
"""
|
||||
|
||||
"""
|
||||
|
||||
if __name__ == "__main__":
|
||||
print("Hello")
|
||||
Reference in New Issue
Block a user