build setup
This commit is contained in:
parent
c8ecd3ce14
commit
99cb43fca2
3
.gitignore
vendored
3
.gitignore
vendored
@ -0,0 +1,3 @@
|
|||||||
|
venv/*
|
||||||
|
dist/*
|
||||||
|
*.egg-info
|
6
pyproject.toml
Normal file
6
pyproject.toml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = [
|
||||||
|
"setuptools>=42",
|
||||||
|
"wheel"
|
||||||
|
]
|
||||||
|
build-backend = "setuptools.build_meta"
|
10
readme.md
10
readme.md
@ -0,0 +1,10 @@
|
|||||||
|
To build project type:
|
||||||
|
|
||||||
|
```
|
||||||
|
pip3 install virtualenv
|
||||||
|
virtuvalenv venv
|
||||||
|
source venv/bin/activate
|
||||||
|
pip3 install setuptools
|
||||||
|
python3 -m pip install --upgrade build
|
||||||
|
python3 -m build
|
||||||
|
```
|
24
setup.cfg
Normal file
24
setup.cfg
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
[metadata]
|
||||||
|
name = pbr-ayct-core
|
||||||
|
version = 0.0.1
|
||||||
|
author = Ramon Dyzman
|
||||||
|
author_email = ramon.dyzman@gmail.com
|
||||||
|
description = A small example package
|
||||||
|
long_description = file: README.md
|
||||||
|
long_description_content_type = text/markdown
|
||||||
|
url = https://git.wmi.amu.edu.pl/s415366/pbr-ayct-core
|
||||||
|
project_urls =
|
||||||
|
Bug Tracker = https://github.com/pypa/sampleproject/issues
|
||||||
|
classifiers =
|
||||||
|
Programming Language :: Python :: 3
|
||||||
|
License :: OSI Approved :: MIT License
|
||||||
|
Operating System :: OS Independent
|
||||||
|
|
||||||
|
[options]
|
||||||
|
package_dir =
|
||||||
|
= src
|
||||||
|
packages = find:
|
||||||
|
python_requires = >=3.6
|
||||||
|
|
||||||
|
[options.packages.find]
|
||||||
|
where = src
|
0
src/__init__.py
Normal file
0
src/__init__.py
Normal file
9
src/main.py
Normal file
9
src/main.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
class Main:
|
||||||
|
|
||||||
|
def __init__(self) -> None:
|
||||||
|
pass
|
||||||
|
|
||||||
|
def getTestString(var1: str) -> str:
|
||||||
|
return "All You Can Tweet"
|
Loading…
Reference in New Issue
Block a user