Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,24 @@ classifiers =
License :: OSI Approved :: MIT License
Natural Language :: English
Programming Language :: Python :: 3

[aliases]
test = pytest

[options]
include_package_data = True
packages = find:
;packages = find:
package_dir =
=src
python_requires = >= 3.7
install_requires =
requests ==2.28.0
tabulate ==0.8.10
python-dateutil ==2.8.2
;install_requires =
; requests ==2.28.0
; tabulate ==0.8.10
; python-dateutil ==2.8.2

[options.entry_points]
console_scripts =
docker-hub = src.__main__:main
;[options.entry_points]
;console_scripts =
; docker-hub = src.__main__:main

[options.package_data]
* = README.md
Expand Down
31 changes: 31 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
from setuptools import setup

if __name__ == "__main__":
try:
setup(
use_scm_version={"version_scheme": "no-guess-dev"},
name='docker_hub',
packages=['docker_hub', ],
entry_points={
'console_scripts': [
'docker_hub=docker_hub.main:main',
]
},
install_requires=[
# "requests==2.28.0",
# "tabulate==0.8.10",
# "python-dateutil==2.8.2",
],
data_files=[
# ('', ['src/abc/config.sample.yaml']),
]

)
except: # noqa
print(
"\n\nAn error occurred while building the project, "
"please ensure you have the most updated version of setuptools, "
"setuptools_scm and wheel with:\n"
" pip install -U setuptools setuptools_scm wheel\n\n"
)
raise
Empty file added src/docker_hub/__init__.py
Empty file.
3 changes: 3 additions & 0 deletions src/docker_hub/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
def main():
"""test"""
print("Run main")