feat: set-up entry point and install

This commit is contained in:
thomasabishop 2024-08-26 16:01:15 +01:00
parent 232608d1ad
commit 51e35a8fee
8 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,16 @@
from setuptools import setup, find_packages
setup(
name="eolas-db",
version="0.1",
packages=find_packages(where="src"),
package_dir={"": "src"},
install_requires=[
# List your project dependencies here
],
entry_points={
"console_scripts": [
"eolas-db=cli:main",
],
},
)

View file

@ -0,0 +1 @@

6
src/cli.py Normal file
View file

@ -0,0 +1,6 @@
def main():
print("Application is running")
if __name__ == "__main__":
main()

View file

@ -0,0 +1,3 @@
Metadata-Version: 2.1
Name: eolas-db
Version: 0.1

View file

@ -0,0 +1,7 @@
README.md
setup.py
src/eolas_db.egg-info/PKG-INFO
src/eolas_db.egg-info/SOURCES.txt
src/eolas_db.egg-info/dependency_links.txt
src/eolas_db.egg-info/entry_points.txt
src/eolas_db.egg-info/top_level.txt

View file

@ -0,0 +1 @@

View file

@ -0,0 +1,2 @@
[console_scripts]
eolas-db = cli:main

View file

@ -0,0 +1 @@