build setup

This commit is contained in:
wangobango 2021-11-16 16:35:01 +01:00
parent c8ecd3ce14
commit 99cb43fca2
6 changed files with 52 additions and 0 deletions

3
.gitignore vendored
View File

@ -0,0 +1,3 @@
venv/*
dist/*
*.egg-info

6
pyproject.toml Normal file
View File

@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"

View File

@ -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
View 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
View File

9
src/main.py Normal file
View File

@ -0,0 +1,9 @@
class Main:
def __init__(self) -> None:
pass
def getTestString(var1: str) -> str:
return "All You Can Tweet"