1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 11:34:18 +00:00

First commit

This commit is contained in:
Steffo 2019-10-24 15:00:30 +02:00
commit d1d93e02bb
8 changed files with 68 additions and 0 deletions

9
.gitignore vendored Normal file
View file

@ -0,0 +1,9 @@
config.ini
.idea/
.vscode/
__pycache__
*.egg-info/
.pytest_cache/
dist/
build/
venv/

5
README.md Normal file
View file

@ -0,0 +1,5 @@
# `{packname}` [![PyPI](https://img.shields.io/pypi/v/{packname}.svg)](https://pypi.org/project/{packname}/)
{Replace everything surrounded by braces with your own data, including this description!}
{Files to be changed are the package folder, setup.py and this README!}

0
requirements.txt Normal file
View file

24
setup.py Normal file
View file

@ -0,0 +1,24 @@
import setuptools
with open("README.md", "r") as f:
long_description = f.read()
with open("requirements.txt", "r") as f:
install_requires = f.readlines()
setuptools.setup(
name="{packname}",
version="0.1",
author="{packauthorname}",
author_email="{packauthoremail}",
description="{packdescription}",
long_description=long_description,
long_description_content_type="text/markdown",
url="{packgithublink}",
packages=setuptools.find_packages(),
install_requires=install_requires,
python_requires=">=3.7",
classifiers=[
"Programming Language :: Python :: 3.7",
],
)

3
to_pypi.bat Normal file
View file

@ -0,0 +1,3 @@
del /f /q /s dist\*.*
python setup.py sdist bdist_wheel
twine upload dist/*

7
{packname}/__init__.py Normal file
View file

@ -0,0 +1,7 @@
# This is a template Pack __init__. You can use this without changing anything in other packages too!
from .commands import available_commands
from .tables import available_tables
__all__ = ["commands", "tables", "available_commands", "available_tables"]

View file

@ -0,0 +1,10 @@
# Imports go here!
# Enter the commands of your Pack here!
available_commands = [
]
# Don't change this, it should automatically generate __all__
__all__ = [command.__class__.__qualname__ for command in available_commands]

View file

@ -0,0 +1,10 @@
# Imports go here!
# Enter the tables of your Pack here!
available_tables = [
]
# Don't change this, it should automatically generate __all__
__all__ = [table.__class__.__qualname__ for table in available_tables]