2020-10-17 23:25:21 +03:00
[ tool . poetry ]
name = "gaphor"
version = "2.0.1"
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" ,
]
[ tool . poetry . dependencies ]
python = "^3.7"
pycairo = "^1.18"
PyGObject = "^3.30"
gaphas = "^2.1.1"
importlib_metadata = "^1.4"
typing_extensions = "^3.7.4"
generic = "^1.0.0"
tinycss2 = "^1.0.2"
[ tool . poetry . dev-dependencies ]
tomlkit = "^0.7"
pytest = "^6.1"
pytest-cov = "^2.10"
pytest-runner = "^5.2"
black = "^20.8b1"
mypy = "0.790"
2020-11-23 09:57:09 +03:00
pre-commit = "^2.9"
2020-11-03 09:13:57 +03:00
sphinx = "^3.3"
2020-10-17 23:25:21 +03:00
recommonmark = "^0.6"
sphinx-rtd-theme = "^0.5"
2020-11-13 09:10:59 +03:00
babel = "^2.9.0"
2020-10-17 23:25:21 +03:00
babelgladeextractor = "^0.7"
flake8 = "^3.8"
isort = "^5.6"
[ 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"
"consolewindow" = "gaphor.plugins.console:ConsoleWindow"
"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"
[ 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"
skip_glob = "gaphor/diagram/general/__init__.py,gaphor/UML/__init__.py,gaphor/UML/*/__init__.py"
[ build-system ]
requires = [ "poetry-core>=1.0.0" ]
build-backend = "poetry.core.masonry.api"