diff options
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..107e85b --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,59 @@ +[project] +name = "mycli" +dynamic = ["version"] +description = "CLI for MySQL Database. With auto-completion and syntax highlighting." +readme = "README.md" +requires-python = ">=3.7" +license = { text = "BSD" } +authors = [{ name = "Mycli Core Team", email = "mycli-dev@googlegroups.com" }] +urls = { homepage = "http://mycli.net" } + +dependencies = [ + "click >= 7.0", + "cryptography >= 1.0.0", + "Pygments>=1.6", + "prompt_toolkit>=3.0.6,<4.0.0", + "PyMySQL >= 0.9.2", + "sqlparse>=0.3.0,<0.5.0", + "sqlglot>=5.1.3", + "configobj >= 5.0.5", + "cli_helpers[styles] >= 2.2.1", + "pyperclip >= 1.8.1", + "pyaes >= 1.6.1", + "pyfzf >= 0.3.1", + "importlib_resources >= 5.0.0; python_version<'3.9'", +] + +[build-system] +requires = [ + "setuptools>=64.0", + "setuptools-scm>=8;python_version>='3.8'", + "setuptools-scm<8;python_version<'3.8'", +] +build-backend = "setuptools.build_meta" + +[tool.setuptools_scm] + +[project.optional-dependencies] +ssh = ["paramiko", "sshtunnel"] +dev = [ + "behave>=1.2.6", + "coverage>=7.2.7", + "pexpect>=4.9.0", + "pytest>=7.4.4", + "pytest-cov>=4.1.0", + "tox>=4.8.0", + "pdbpp>=0.10.3", +] + +[project.scripts] +mycli = "mycli.main:cli" + +[tool.setuptools.package-data] +mycli = ["myclirc", "AUTHORS", "SPONSORS"] + +[tool.setuptools.packages.find] +include = ["mycli*"] + +[tool.ruff] +line-length = 140 |