Skip to content

Commit

Permalink
fixes #14
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Oct 6, 2023
1 parent a70920a commit d29dbce
Show file tree
Hide file tree
Showing 6 changed files with 67 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# diagrams
Diagrams-Service
Online diagrams-Service supporting graphviz and plantuml markup

[![Join the chat at https://gitter.im/diagrams-service/community](https://badges.gitter.im/diagrams-service/community.svg)](https://gitter.im/diagrams-service/community)
[![Travis (.org)](https://img.shields.io/travis/BITPlan/diagrams.svg)](https://travis-ci.org/BITPlan/diagrams)
Expand Down
1 change: 1 addition & 0 deletions dgs/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__="0.0.2"
4 changes: 0 additions & 4 deletions dgs/requirements.txt

This file was deleted.

56 changes: 56 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "diagrams"
authors = [
{name = "Wolfgang Fahl", email = "[email protected]"}
]
maintainers = [
{name = "Wolfgang Fahl", email = "[email protected]"},
]
readme = "README.md"
license= "Apache-2.0"
dependencies = [
"flask",
# nicegui widgets
# "ngwidgets>=0.0.24",
]

requires-python = ">=3.8"
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"License :: OSI Approved :: Apache Software License"
]
dynamic = ["version", "description"]

[tool.hatch.version]
path = "dgs/__init__.py"

[project.urls]
Home = "https://github.com/BITPlan/diagrams"
Documentation = "http://wiki.bitplan.com/index.php/Diagrams"
Source = "https://github.com/BITPlan/diagrams"

[project.optional-dependencies]
test = [
"green",
]

[tool.hatch.build.targets.wheel]
only-include = ["dgs"]

[tool.hatch.build.targets.wheel.sources]
"dgs" = "dgs"


2 changes: 1 addition & 1 deletion scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ then
echo "downloading plantuml"
curl -L http://sourceforge.net/projects/plantuml/files/plantuml.jar/download -o plantuml.jar
fi
pip3 install -r dgs/requirements.txt
pip install .
11 changes: 8 additions & 3 deletions scripts/test
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/bash
# WF 2020-02-13
export PYTHONPATH="."
python3 -m unittest discover
# WF 2020-06-03
#python3 -m unittest discover
pip list | egrep "^green "
if [ $? -ne 0 ]
then
pip install green
fi
green tests -s 1

0 comments on commit d29dbce

Please sign in to comment.