feat: set-up entry point and install
This commit is contained in:
parent
232608d1ad
commit
51e35a8fee
8 changed files with 37 additions and 0 deletions
16
setup.py
16
setup.py
|
@ -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",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
)
|
|
@ -0,0 +1 @@
|
||||||
|
|
6
src/cli.py
Normal file
6
src/cli.py
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
def main():
|
||||||
|
print("Application is running")
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
3
src/eolas_db.egg-info/PKG-INFO
Normal file
3
src/eolas_db.egg-info/PKG-INFO
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
Metadata-Version: 2.1
|
||||||
|
Name: eolas-db
|
||||||
|
Version: 0.1
|
7
src/eolas_db.egg-info/SOURCES.txt
Normal file
7
src/eolas_db.egg-info/SOURCES.txt
Normal 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
|
1
src/eolas_db.egg-info/dependency_links.txt
Normal file
1
src/eolas_db.egg-info/dependency_links.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
2
src/eolas_db.egg-info/entry_points.txt
Normal file
2
src/eolas_db.egg-info/entry_points.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[console_scripts]
|
||||||
|
eolas-db = cli:main
|
1
src/eolas_db.egg-info/top_level.txt
Normal file
1
src/eolas_db.egg-info/top_level.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
Loading…
Add table
Reference in a new issue