2021-01-26 20:37:27 -05:00
[ tool . poetry ]
name = "gaphor"
2021-07-04 22:24:03 -04:00
version = "2.5.1"
2021-01-26 20:37:27 -05:00
description = "Gaphor is the simple modeling tool written in Python."
authors = [
"Arjan J. Molenaar <gaphor@gmail.com>" ,
"Dan Yeaw <dan@yeaw.me>"
]
readme = "README.md"
homepage = "https://gaphor.org/"
repository = "https://github.com/gaphor/gaphor"
documentation = "https://gaphor.readthedocs.io/"
keywords = [ "gtk+" , "diagram" , "UML" , "MBSE" , "gaphor" , "modeling" ]
classifiers = [
"Development Status :: 5 - Production/Stable" ,
"Environment :: X11 Applications :: GTK" ,
"Intended Audience :: Developers" ,
"Intended Audience :: End Users/Desktop" ,
"Intended Audience :: Information Technology" ,
"License :: OSI Approved :: Apache Software License" ,
"Operating System :: MacOS :: MacOS X" ,
"Operating System :: Microsoft :: Windows" ,
"Operating System :: POSIX" ,
"Operating System :: Unix" ,
"Programming Language :: Python" ,
"Topic :: Multimedia :: Graphics :: Editors :: Vector-Based" ,
"Topic :: Software Development :: Documentation" ,
]
2021-03-13 15:37:12 +01:00
exclude = [ "**/tests" , "gaphor/conftest.py" ]
2021-01-26 20:37:27 -05:00
[ tool . poetry . dependencies ]
2021-07-13 13:00:56 +01:00
python = "^3.9"
2021-01-26 20:37:27 -05:00
pycairo = "^1.18"
PyGObject = "^3.30"
2021-03-19 23:24:49 +01:00
gaphas = "^3.1.0"
2021-04-19 20:32:46 -04:00
importlib_metadata = ">=1.4,<5.0"
2021-01-26 20:37:27 -05:00
typing_extensions = "^3.7.4"
generic = "^1.0.0"
tinycss2 = "^1.0.2"
[ tool . poetry . dev-dependencies ]
tomlkit = "^0.7"
pytest = "^6.2"
2021-05-17 06:14:02 +00:00
pytest-cov = "^2.12"
2021-05-08 13:30:51 -04:00
pytest-mock = "^3.6.1"
2021-02-12 21:37:24 -05:00
pytest-runner = "^5.3"
2021-07-16 18:47:39 -04:00
black = "^21.7b0"
2021-06-25 08:48:46 -04:00
mypy = "0.910"
2021-04-07 11:14:24 -04:00
pre-commit = "^2.12"
2021-07-12 18:22:28 -04:00
sphinx = "^4.1"
2021-01-26 20:37:27 -05:00
recommonmark = "^0.7"
sphinx-rtd-theme = "^0.5"
2021-05-01 13:25:08 -04:00
babel = "^2.9.1"
2021-01-26 20:37:27 -05:00
babelgladeextractor = "^0.7"
2021-03-15 06:26:34 +00:00
flake8 = "^3.9"
2021-06-25 12:03:05 -04:00
isort = "^5.9"
2021-07-13 13:00:56 +01:00
sphinxcontrib-images = "^0.9.3"
2021-01-26 20:37:27 -05:00
[ tool . poetry . scripts ]
gaphor = 'gaphor.ui:main'
gaphorconvert = 'gaphor.plugins.diagramexport.gaphorconvert:main'
[ tool . poetry . plugins . "gaphor.appservices" ]
"event_manager" = "gaphor.core.eventmanager:EventManager"
"session" = "gaphor.services.session:Session"
"help" = "gaphor.services.helpservice:HelpService"
"app_file_manager" = "gaphor.ui.appfilemanager:AppFileManager"
[ tool . poetry . plugins . "gaphor.services" ]
"component_registry" = "gaphor.services.componentregistry:ComponentRegistry"
"event_manager" = "gaphor.core.eventmanager:EventManager"
"properties" = "gaphor.services.properties:Properties"
"undo_manager" = "gaphor.services.undomanager:UndoManager"
"element_factory" = "gaphor.core.modeling:ElementFactory"
"element_dispatcher" = "gaphor.core.modeling.elementdispatcher:ElementDispatcher"
"modeling_language" = "gaphor.services.modelinglanguage:ModelingLanguageService"
"file_manager" = "gaphor.ui.filemanager:FileManager"
"recent_files" = "gaphor.ui.recentfiles:RecentFiles"
"main_window" = "gaphor.ui.mainwindow:MainWindow"
"export_menu" = "gaphor.ui.menufragment:MenuFragment"
"tools_menu" = "gaphor.ui.menufragment:MenuFragment"
"copy" = "gaphor.services.copyservice:CopyService"
"sanitizer" = "gaphor.UML.sanitizerservice:SanitizerService"
"namespace" = "gaphor.ui.namespace:Namespace"
"toolbox" = "gaphor.ui.toolbox:Toolbox"
"diagrams" = "gaphor.ui.diagrams:Diagrams"
2021-04-18 12:21:13 +02:00
"consolewindow" = "gaphor.plugins.console.consolewindow:ConsoleWindow"
2021-01-26 20:37:27 -05:00
"elementeditor" = "gaphor.ui.elementeditor:ElementEditor"
"diagram_export" = "gaphor.plugins.diagramexport:DiagramExport"
"xmi_export" = "gaphor.plugins.xmiexport:XMIExport"
[ tool . poetry . plugins . "gaphor.modelinglanguages" ]
"UML" = "gaphor.UML.modelinglanguage:UMLModelingLanguage"
"SysML" = "gaphor.SysML.modelinglanguage:SysMLModelingLanguage"
2021-02-12 22:42:27 +01:00
"C4Model" = "gaphor.C4Model.modelinglanguage:C4ModelLanguage"
2021-02-18 21:47:14 -05:00
"RAAML" = "gaphor.RAAML.modelinglanguage:RAAMLModelingLanguage"
2021-01-26 20:37:27 -05:00
[ tool . pytest . ini_options ]
testpaths = [
"gaphor" ,
"tests" ,
"docs" ,
]
python_files = "test_*.py"
# for coverage: --cov=gaphor/
addopts = "--doctest-modules"
junit_family = "xunit1"
markers = "slow: marks tests as slow (deselect with '-m \"not slow\"')"
[ tool . coverage . run ]
omit = [
"*tests*" ,
]
[ tool . isort ]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
known_third_party = [ "cairo" , "gaphas" , "generic" , "gi" , "importlib_metadata" , "pytest" , "recommonmark" , "tinycss2" , "tomlkit" , "typing_extensions" ]
skip = "flatpak,.venv,build,dist"
2021-06-08 21:43:43 -04:00
skip_glob = "gaphor/diagram/general/__init__.py,gaphor/UML/__init__.py,gaphor/UML/*/__init__.py,gaphor/RAAML/stpa/__init__.py"
2021-01-26 20:37:27 -05:00
[ build-system ]
requires = [ "poetry-core>=1.0.0" ]
build-backend = "poetry.core.masonry.api"