Add pipenv environment
This commit is contained in:
parent
831d81e717
commit
2081575bc1
12
Pipfile
Normal file
12
Pipfile
Normal file
@ -0,0 +1,12 @@
|
||||
[[source]]
|
||||
url = "https://pypi.org/simple"
|
||||
verify_ssl = true
|
||||
name = "pypi"
|
||||
|
||||
[packages]
|
||||
|
||||
[dev-packages]
|
||||
|
||||
[requires]
|
||||
python_version = "3.11"
|
||||
python_full_version = "3.11.3"
|
@ -1,3 +1,10 @@
|
||||
# defaultpy
|
||||
|
||||
Default Python project.
|
||||
Default Python project.
|
||||
|
||||
Run `pipenv install -dev` to install all packages.
|
||||
|
||||
Run `pipenv shell` to get venv shell.
|
||||
|
||||
Run `pipenv run pip install <package>` to install a package.
|
||||
|
||||
|
6
main.py
Normal file
6
main.py
Normal file
@ -0,0 +1,6 @@
|
||||
from src import hello
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
hello()
|
||||
|
4
src/__init__.py
Normal file
4
src/__init__.py
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
|
||||
def hello():
|
||||
print("Hello, seaman!")
|
Loading…
Reference in New Issue
Block a user