Browse Source

Перевод на poetry [closes #48], отделение debug

master
Касимов 1 year ago
parent
commit
f3efbacf29
7 changed files with 567 additions and 90 deletions
  1. +0
    -13
      LICENSE
  2. +6
    -8
      Makefile
  3. +15
    -0
      README.rst
  4. +0
    -12
      README.txt
  5. +500
    -0
      poetry.lock
  6. +46
    -0
      pyproject.toml
  7. +0
    -57
      setup.py

+ 0
- 13
LICENSE View File

@@ -1,13 +0,0 @@
Copyright (c) 2019 Radium, LLC <inbox@radium-it.ru>

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

+ 6
- 8
Makefile View File

@@ -1,12 +1,10 @@
all: test bdist
all: test build

bdist:
python3 setup.py sdist bdist_wheel
build:
poetry build

test:
pytest -q
poetry run pytest -q

upload:
twine check dist/*
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
twine upload dist/*
publish:
poetry publsh

CHANGES.txt → README.rst View File

@@ -1,3 +1,18 @@
Radium Flat-file CMS
====================

Getting Started
---------------

- Install flatfilecms

pip install flatfilecms

- Use flatfilecms:main as a WSGI application

Changelog
=========

0.3
---


+ 0
- 12
README.txt View File

@@ -1,12 +0,0 @@
Radium Flat-file CMS
====================

Getting Started
---------------

- Install flatfilecms

pip install flatfilecms

- Use flatfilecms:main as a WSGI application


+ 500
- 0
poetry.lock View File

@@ -0,0 +1,500 @@
[[package]]
category = "dev"
description = "Atomic file writes."
name = "atomicwrites"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "1.3.0"

[[package]]
category = "dev"
description = "Classes Without Boilerplate"
name = "attrs"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "19.3.0"

[[package]]
category = "main"
description = "Internationalization utilities"
name = "babel"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "2.7.0"

[package.dependencies]
pytz = ">=2015.7"

[[package]]
category = "dev"
description = "Screen-scraping library"
name = "beautifulsoup4"
optional = false
python-versions = "*"
version = "4.8.1"

[package.dependencies]
soupsieve = ">=1.2"

[[package]]
category = "dev"
description = "Cross-platform colored terminal text."
marker = "sys_platform == \"win32\""
name = "colorama"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "0.4.1"

[[package]]
category = "dev"
description = "Code coverage measurement for Python"
name = "coverage"
optional = false
python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4"
version = "4.5.4"

[[package]]
category = "main"
description = "Integrated process monitor for developing and reloading daemons."
name = "hupper"
optional = false
python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*"
version = "1.9.1"

[[package]]
category = "dev"
description = "Read metadata from Python packages"
marker = "python_version < \"3.8\""
name = "importlib-metadata"
optional = false
python-versions = ">=2.7,!=3.0,!=3.1,!=3.2,!=3.3"
version = "0.23"

[package.dependencies]
zipp = ">=0.5"

[[package]]
category = "main"
description = "A very fast and expressive template engine."
name = "jinja2"
optional = false
python-versions = "*"
version = "2.10.3"

[package.dependencies]
MarkupSafe = ">=0.23"

[[package]]
category = "main"
description = "A super-fast templating language that borrows the best ideas from the existing templating languages."
name = "mako"
optional = true
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "1.1.0"

[package.dependencies]
MarkupSafe = ">=0.9.2"

[[package]]
category = "main"
description = "Python implementation of Markdown."
name = "markdown"
optional = false
python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*"
version = "3.1.1"

[package.dependencies]
setuptools = ">=36"

[[package]]
category = "main"
description = "Safely add untrusted strings to HTML/XML markup."
name = "markupsafe"
optional = false
python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*"
version = "1.1.1"

[[package]]
category = "dev"
description = "More routines for operating on iterables, beyond itertools"
name = "more-itertools"
optional = false
python-versions = ">=3.4"
version = "7.2.0"

[[package]]
category = "dev"
description = "Core utilities for Python packages"
name = "packaging"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "19.2"

[package.dependencies]
pyparsing = ">=2.0.2"
six = "*"

[[package]]
category = "main"
description = "Load, configure, and compose WSGI applications and servers"
name = "pastedeploy"
optional = false
python-versions = "*"
version = "2.0.1"

[[package]]
category = "main"
description = "A loader interface around multiple config file formats."
name = "plaster"
optional = false
python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*"
version = "1.0"

[package.dependencies]
setuptools = "*"

[[package]]
category = "main"
description = "A loader implementing the PasteDeploy syntax to be used by plaster."
name = "plaster-pastedeploy"
optional = false
python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*"
version = "0.7"

[package.dependencies]
PasteDeploy = ">=2.0"
plaster = ">=0.5"

[[package]]
category = "dev"
description = "plugin and hook calling mechanisms for python"
name = "pluggy"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "0.13.0"

[package.dependencies]
[package.dependencies.importlib-metadata]
python = "<3.8"
version = ">=0.12"

[[package]]
category = "dev"
description = "library with cross-python path, ini-parsing, io, code, log facilities"
name = "py"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "1.8.0"

[[package]]
category = "main"
description = "Pygments is a syntax highlighting package written in Python."
name = "pygments"
optional = true
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
version = "2.4.2"

[[package]]
category = "dev"
description = "Python parsing module"
name = "pyparsing"
optional = false
python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*"
version = "2.4.5"

[[package]]
category = "main"
description = "The Pyramid Web Framework, a Pylons project"
name = "pyramid"
optional = false
python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*"
version = "1.10.4"

[package.dependencies]
hupper = ">=1.5"
plaster = "*"
plaster-pastedeploy = "*"
setuptools = "*"
translationstring = ">=0.4"
venusian = ">=1.0"
webob = ">=1.8.3"
"zope.deprecation" = ">=3.5.0"
"zope.interface" = ">=3.8.0"

[[package]]
category = "main"
description = "A package which provides an interactive HTML debugger for Pyramid application development"
name = "pyramid-debugtoolbar"
optional = true
python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*"
version = "4.5.1"

[package.dependencies]
Pygments = "*"
pyramid = ">=1.4"
pyramid-mako = ">=0.3.1"
"repoze.lru" = "*"

[[package]]
category = "main"
description = "Jinja2 template bindings for the Pyramid web framework"
name = "pyramid-jinja2"
optional = false
python-versions = "*"
version = "2.8"

[package.dependencies]
Jinja2 = ">=2.5.0"
MarkupSafe = "*"
pyramid = ">=1.3.0"
"zope.deprecation" = "*"

[[package]]
category = "main"
description = "Mako template bindings for the Pyramid web framework"
name = "pyramid-mako"
optional = true
python-versions = "*"
version = "1.1.0"

[package.dependencies]
Mako = ">=1.1.0"
pyramid = "*"

[[package]]
category = "main"
description = "Pyramid extension for managing assets with Webpack."
name = "pyramid-webpack"
optional = false
python-versions = "*"
version = "0.1.3"

[package.dependencies]
pyramid = "*"
six = ">=1.10.0"

[[package]]
category = "dev"
description = "pytest: simple powerful testing with Python"
name = "pytest"
optional = false
python-versions = ">=3.5"
version = "5.2.4"

[package.dependencies]
atomicwrites = ">=1.0"
attrs = ">=17.4.0"
colorama = "*"
more-itertools = ">=4.0.0"
packaging = "*"
pluggy = ">=0.12,<1.0"
py = ">=1.5.0"
wcwidth = "*"

[package.dependencies.importlib-metadata]
python = "<3.8"
version = ">=0.12"

[[package]]
category = "dev"
description = "Pytest plugin for measuring coverage."
name = "pytest-cov"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "2.8.1"

[package.dependencies]
coverage = ">=4.4"
pytest = ">=3.6"

[[package]]
category = "main"
description = "Parse and manage posts with YAML frontmatter"
name = "python-frontmatter"
optional = false
python-versions = "*"
version = "0.4.5"

[package.dependencies]
PyYAML = "*"
six = "*"

[[package]]
category = "main"
description = "World timezone definitions, modern and historical"
name = "pytz"
optional = false
python-versions = "*"
version = "2019.3"

[[package]]
category = "main"
description = "YAML parser and emitter for Python"
name = "pyyaml"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "5.1.2"

[[package]]
category = "main"
description = "A tiny LRU cache implementation and decorator"
name = "repoze.lru"
optional = true
python-versions = "*"
version = "0.7"

[[package]]
category = "main"
description = "Python 2 and 3 compatibility utilities"
name = "six"
optional = false
python-versions = ">=2.6, !=3.0.*, !=3.1.*"
version = "1.13.0"

[[package]]
category = "dev"
description = "A modern CSS selector implementation for Beautiful Soup."
name = "soupsieve"
optional = false
python-versions = "*"
version = "1.9.5"

[[package]]
category = "main"
description = "Utility library for i18n relied on by various Repoze and Pyramid packages"
name = "translationstring"
optional = false
python-versions = "*"
version = "1.3"

[[package]]
category = "main"
description = "A library for deferring decorator actions"
name = "venusian"
optional = false
python-versions = ">=3.5"
version = "3.0.0"

[[package]]
category = "dev"
description = "Waitress WSGI server"
name = "waitress"
optional = false
python-versions = "*"
version = "1.3.1"

[[package]]
category = "dev"
description = "Measures number of Terminal column cells of wide-character codes"
name = "wcwidth"
optional = false
python-versions = "*"
version = "0.1.7"

[[package]]
category = "main"
description = "WSGI request and response object"
name = "webob"
optional = false
python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*"
version = "1.8.5"

[[package]]
category = "dev"
description = "Helper to test WSGI applications"
name = "webtest"
optional = false
python-versions = "*"
version = "2.0.33"

[package.dependencies]
WebOb = ">=1.2"
beautifulsoup4 = "*"
six = "*"
waitress = ">=0.8.5"

[[package]]
category = "dev"
description = "Backport of pathlib-compatible object wrapper for zip files"
marker = "python_version < \"3.8\""
name = "zipp"
optional = false
python-versions = ">=2.7"
version = "0.6.0"

[package.dependencies]
more-itertools = "*"

[[package]]
category = "main"
description = "Zope Deprecation Infrastructure"
name = "zope.deprecation"
optional = false
python-versions = "*"
version = "4.4.0"

[package.dependencies]
setuptools = "*"

[[package]]
category = "main"
description = "Interfaces for Python"
name = "zope.interface"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
version = "4.7.1"

[package.dependencies]
setuptools = "*"

[extras]
debug = ["pyramid-debugtoolbar"]

[metadata]
content-hash = "e3dd3168b227de6b705bcfd51e11729e67eb309e68582c62292e45d89e11d510"
python-versions = "^3.7"

[metadata.hashes]
atomicwrites = ["03472c30eb2c5d1ba9227e4c2ca66ab8287fbfbbda3888aa93dc2e28fc6811b4", "75a9445bac02d8d058d5e1fe689654ba5a6556a1dfd8ce6ec55a0ed79866cfa6"]
attrs = ["08a96c641c3a74e44eb59afb61a24f2cb9f4d7188748e76ba4bb5edfa3cb7d1c", "f7b7ce16570fe9965acd6d30101a28f62fb4a7f9e926b3bbc9b61f8b04247e72"]
babel = ["af92e6106cb7c55286b25b38ad7695f8b4efb36a90ba483d7f7a6628c46158ab", "e86135ae101e31e2c8ec20a4e0c5220f4eed12487d5cf3f78be7e98d3a57fc28"]
beautifulsoup4 = ["5279c36b4b2ec2cb4298d723791467e3000e5384a43ea0cdf5d45207c7e97169", "6135db2ba678168c07950f9a16c4031822c6f4aec75a65e0a97bc5ca09789931", "dcdef580e18a76d54002088602eba453eec38ebbcafafeaabd8cab12b6155d57"]
colorama = ["05eed71e2e327246ad6b38c540c4a3117230b19679b875190486ddd2d721422d", "f8ac84de7840f5b9c4e3347b3c1eaa50f7e49c2b07596221daec5edaabbd7c48"]
coverage = ["08907593569fe59baca0bf152c43f3863201efb6113ecb38ce7e97ce339805a6", "0be0f1ed45fc0c185cfd4ecc19a1d6532d72f86a2bac9de7e24541febad72650", "141f08ed3c4b1847015e2cd62ec06d35e67a3ac185c26f7635f4406b90afa9c5", "19e4df788a0581238e9390c85a7a09af39c7b539b29f25c89209e6c3e371270d", "23cc09ed395b03424d1ae30dcc292615c1372bfba7141eb85e11e50efaa6b351", "245388cda02af78276b479f299bbf3783ef0a6a6273037d7c60dc73b8d8d7755", "331cb5115673a20fb131dadd22f5bcaf7677ef758741312bee4937d71a14b2ef", "386e2e4090f0bc5df274e720105c342263423e77ee8826002dcffe0c9533dbca", "3a794ce50daee01c74a494919d5ebdc23d58873747fa0e288318728533a3e1ca", "60851187677b24c6085248f0a0b9b98d49cba7ecc7ec60ba6b9d2e5574ac1ee9", "63a9a5fc43b58735f65ed63d2cf43508f462dc49857da70b8980ad78d41d52fc", "6b62544bb68106e3f00b21c8930e83e584fdca005d4fffd29bb39fb3ffa03cb5", "6ba744056423ef8d450cf627289166da65903885272055fb4b5e113137cfa14f", "7494b0b0274c5072bddbfd5b4a6c6f18fbbe1ab1d22a41e99cd2d00c8f96ecfe", "826f32b9547c8091679ff292a82aca9c7b9650f9fda3e2ca6bf2ac905b7ce888", "93715dffbcd0678057f947f496484e906bf9509f5c1c38fc9ba3922893cda5f5", "9a334d6c83dfeadae576b4d633a71620d40d1c379129d587faa42ee3e2a85cce", "af7ed8a8aa6957aac47b4268631fa1df984643f07ef00acd374e456364b373f5", "bf0a7aed7f5521c7ca67febd57db473af4762b9622254291fbcbb8cd0ba5e33e", "bf1ef9eb901113a9805287e090452c05547578eaab1b62e4ad456fcc049a9b7e", "c0afd27bc0e307a1ffc04ca5ec010a290e49e3afbe841c5cafc5c5a80ecd81c9", "dd579709a87092c6dbee09d1b7cfa81831040705ffa12a1b248935274aee0437", "df6712284b2e44a065097846488f66840445eb987eb81b3cc6e4149e7b6982e1", "e07d9f1a23e9e93ab5c62902833bf3e4b1f65502927379148b6622686223125c", "e2ede7c1d45e65e209d6093b762e98e8318ddeff95317d07a27a2140b80cfd24", "e4ef9c164eb55123c62411f5936b5c2e521b12356037b6e1c2617cef45523d47", "eca2b7343524e7ba246cab8ff00cab47a2d6d54ada3b02772e908a45675722e2", "eee64c616adeff7db37cc37da4180a3a5b6177f5c46b187894e633f088fb5b28", "ef824cad1f980d27f26166f86856efe11eff9912c4fed97d3804820d43fa550c", "efc89291bd5a08855829a3c522df16d856455297cf35ae827a37edac45f466a7", "fa964bae817babece5aa2e8c1af841bebb6d0b9add8e637548809d040443fee0", "ff37757e068ae606659c28c3bd0d923f9d29a85de79bf25b2b34b148473b5025"]
hupper = ["3b1c2222ec7b8159e7ad059e4493c6cc634c86184af0bf2ce5aba6edd241cf5f", "5ab839f9428dd2d993092193ad0032f968eae007873916794c3856131b2df112"]
importlib-metadata = ["aa18d7378b00b40847790e7c27e11673d7fed219354109d0e7b9e5b25dc3ad26", "d5f18a79777f3aa179c145737780282e27b508fc8fd688cb17c7a813e8bd39af"]
jinja2 = ["74320bb91f31270f9551d46522e33af46a80c3d619f4a4bf42b3164d30b5911f", "9fe95f19286cfefaa917656583d020be14e7859c6b0252588391e47db34527de"]
mako = ["a36919599a9b7dc5d86a7a8988f23a9a3a3d083070023bab23d64f7f1d1e0a4b"]
markdown = ["2e50876bcdd74517e7b71f3e7a76102050edec255b3983403f1a63e7c8a41e7a", "56a46ac655704b91e5b7e6326ce43d5ef72411376588afa1dd90e881b83c7e8c"]
markupsafe = ["00bc623926325b26bb9605ae9eae8a215691f33cae5df11ca5424f06f2d1f473", "09027a7803a62ca78792ad89403b1b7a73a01c8cb65909cd876f7fcebd79b161", "09c4b7f37d6c648cb13f9230d847adf22f8171b1ccc4d5682398e77f40309235", "1027c282dad077d0bae18be6794e6b6b8c91d58ed8a8d89a89d59693b9131db5", "24982cc2533820871eba85ba648cd53d8623687ff11cbb805be4ff7b4c971aff", "29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b", "43a55c2930bbc139570ac2452adf3d70cdbb3cfe5912c71cdce1c2c6bbd9c5d1", "46c99d2de99945ec5cb54f23c8cd5689f6d7177305ebff350a58ce5f8de1669e", "500d4957e52ddc3351cabf489e79c91c17f6e0899158447047588650b5e69183", "535f6fc4d397c1563d08b88e485c3496cf5784e927af890fb3c3aac7f933ec66", "62fe6c95e3ec8a7fad637b7f3d372c15ec1caa01ab47926cfdf7a75b40e0eac1", "6dd73240d2af64df90aa7c4e7481e23825ea70af4b4922f8ede5b9e35f78a3b1", "717ba8fe3ae9cc0006d7c451f0bb265ee07739daf76355d06366154ee68d221e", "79855e1c5b8da654cf486b830bd42c06e8780cea587384cf6545b7d9ac013a0b", "7c1699dfe0cf8ff607dbdcc1e9b9af1755371f92a68f706051cc8c37d447c905", "88e5fcfb52ee7b911e8bb6d6aa2fd21fbecc674eadd44118a9cc3863f938e735", "8defac2f2ccd6805ebf65f5eeb132adcf2ab57aa11fdf4c0dd5169a004710e7d", "98c7086708b163d425c67c7a91bad6e466bb99d797aa64f965e9d25c12111a5e", "9add70b36c5666a2ed02b43b335fe19002ee5235efd4b8a89bfcf9005bebac0d", "9bf40443012702a1d2070043cb6291650a0841ece432556f784f004937f0f32c", "ade5e387d2ad0d7ebf59146cc00c8044acbd863725f887353a10df825fc8ae21", "b00c1de48212e4cc9603895652c5c410df699856a2853135b3967591e4beebc2", "b1282f8c00509d99fef04d8ba936b156d419be841854fe901d8ae224c59f0be5", "b2051432115498d3562c084a49bba65d97cf251f5a331c64a12ee7e04dacc51b", "ba59edeaa2fc6114428f1637ffff42da1e311e29382d81b339c1817d37ec93c6", "c8716a48d94b06bb3b2524c2b77e055fb313aeb4ea620c8dd03a105574ba704f", "cd5df75523866410809ca100dc9681e301e3c27567cf498077e8551b6d20e42f", "e249096428b3ae81b08327a63a485ad0878de3fb939049038579ac0ef61e17e7"]
more-itertools = ["409cd48d4db7052af495b09dec721011634af3753ae1ef92d2b32f73a745f832", "92b8c4b06dac4f0611c0729b2f2ede52b2e1bac1ab48f089c7ddc12e26bb60c4"]
packaging = ["28b924174df7a2fa32c1953825ff29c61e2f5e082343165438812f00d3a7fc47", "d9551545c6d761f3def1677baf08ab2a3ca17c56879e70fecba2fc4dde4ed108"]
pastedeploy = ["d423fb9d51fdcf853aa4ff43ac7ec469b643ea19590f67488122d6d0d772350a", "fe53697ec2754703096b75d0ba29112b0590b4ce46726fe4f9408fd006e4eefc"]
plaster = ["215c921a438b5349931fd7df9a5a11a3572947f20f4bc6dd622ac08f1c3ba249", "8351c7c7efdf33084c1de88dd0f422cbe7342534537b553c49b857b12d98c8c3"]
plaster-pastedeploy = ["391d93a4e1ff81fc3bae27508ebb765b61f1724ae6169f83577f06b6357be7fd", "7c8aa37c917b615c70bf942b24dc1e0455c49f62f1a2214b1a0dd98871644bbb"]
pluggy = ["0db4b7601aae1d35b4a033282da476845aa19185c1e6964b25cf324b5e4ec3e6", "fa5fa1622fa6dd5c030e9cad086fa19ef6a0cf6d7a2d12318e10cb49d6d68f34"]
py = ["64f65755aee5b381cea27766a3a147c3f15b9b6b9ac88676de66ba2ae36793fa", "dc639b046a6e2cff5bbe40194ad65936d6ba360b52b3c3fe1d08a82dd50b5e53"]
pygments = ["71e430bc85c88a430f000ac1d9b331d2407f681d6f6aec95e8bcfbc3df5b0127", "881c4c157e45f30af185c1ffe8d549d48ac9127433f2c380c24b84572ad66297"]
pyparsing = ["20f995ecd72f2a1f4bf6b072b63b22e2eb457836601e76d6e5dfcd75436acc1f", "4ca62001be367f01bd3e92ecbb79070272a9d4964dce6a48a82ff0b8bc7e683a"]
pyramid = ["51bf64647345237c00d2fe558935e0e4938c156e29f17e203457fd8e1d757dc7", "d80ccb8cfa550139b50801591d4ca8a5575334adb493c402fce2312f55d07d66"]
pyramid-debugtoolbar = ["2a55758025c2df97395ba9e7dff4b9dca16d2d11ab36b9531d04efef4234ee41", "b86aff7125d587b8170ddcb779dec6341e2a6339b5ef2b78ab3e349374f81e6d"]
pyramid-jinja2 = ["81e0615cb3108f2a251ff3141ad0d698a5d03685819f3a836ea84787e8489502", "c7ce77a2ec5cfb7b29c9eabec9e5c167698d13adb2524c0c47cc6fe6a0a09ab1"]
pyramid-mako = ["0066c863441f1c3ddea60cee1ccc50d00a91a317a8052ca44131da1a12a840e2", "76104592d292b6974cf7080aa52405c51f396a621535f01e274d7fe546e85a43"]
pyramid-webpack = ["99d58b9e2949f06079b461affa20b6c9b896870b5b7caad8ad6cf741c223e710", "ffb587352ceb5a90d6eb88496dfc0b25276cd7351df461f1db2b7b92f2247f98"]
pytest = ["8e256fe71eb74e14a4d20a5987bb5e1488f0511ee800680aaedc62b9358714e8", "ff0090819f669aaa0284d0f4aad1a6d9d67a6efdc6dd4eb4ac56b704f890a0d6"]
pytest-cov = ["cc6742d8bac45070217169f5f72ceee1e0e55b0221f54bcf24845972d3a47f2b", "cdbdef4f870408ebdbfeb44e63e07eb18bb4619fae852f6e760645fa36172626"]
python-frontmatter = ["13a61749910f2e1968c011103406429abc79c41d52b69adfb07f702ae2df32cc", "cec75b2afd1a06cf5b03cfd9c5173365d3dc14379526389a9742ff35846df771"]
pytz = ["1c557d7d0e871de1f5ccd5833f60fb2550652da6be2693c1e02300743d21500d", "b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be"]
pyyaml = ["0113bc0ec2ad727182326b61326afa3d1d8280ae1122493553fd6f4397f33df9", "01adf0b6c6f61bd11af6e10ca52b7d4057dd0be0343eb9283c878cf3af56aee4", "5124373960b0b3f4aa7df1707e63e9f109b5263eca5976c66e08b1c552d4eaf8", "5ca4f10adbddae56d824b2c09668e91219bb178a1eee1faa56af6f99f11bf696", "7907be34ffa3c5a32b60b95f4d95ea25361c951383a894fec31be7252b2b6f34", "7ec9b2a4ed5cad025c2278a1e6a19c011c80a3caaac804fd2d329e9cc2c287c9", "87ae4c829bb25b9fe99cf71fbb2140c448f534e24c998cc60f39ae4f94396a73", "9de9919becc9cc2ff03637872a440195ac4241c80536632fffeb6a1e25a74299", "a5a85b10e450c66b49f98846937e8cfca1db3127a9d5d1e31ca45c3d0bef4c5b", "b0997827b4f6a7c286c01c5f60384d218dca4ed7d9efa945c3e1aa623d5709ae", "b631ef96d3222e62861443cc89d6563ba3eeb816eeb96b2629345ab795e53681", "bf47c0607522fdbca6c9e817a6e81b08491de50f3766a7a0e6a5be7905961b41", "f81025eddd0327c7d4cfe9b62cf33190e1e736cc6e97502b3ec425f574b3e7a8"]
"repoze.lru" = ["0429a75e19380e4ed50c0694e26ac8819b4ea7851ee1fc7583c8572db80aff77", "f77bf0e1096ea445beadd35f3479c5cff2aa1efe604a133e67150bc8630a62ea"]
six = ["1f1b7d42e254082a9db6279deae68afb421ceba6158efa6131de7b3003ee93fd", "30f610279e8b2578cab6db20741130331735c781b56053c59c4076da27f06b66"]
soupsieve = ["bdb0d917b03a1369ce964056fc195cfdff8819c40de04695a80bc813c3cfa1f5", "e2c1c5dee4a1c36bcb790e0fabd5492d874b8ebd4617622c4f6a731701060dda"]
translationstring = ["4ee44cfa58c52ade8910ea0ebc3d2d84bdcad9fa0422405b1801ec9b9a65b72d", "e26c7bf383413234ed442e0980a2ebe192b95e3745288a8fd2805156d27515b4"]
venusian = ["06e7385786ad3a15c70740b2af8d30dfb063a946a851dcb4159f9e2a2302578f", "f6842b7242b1039c0c28f6feef29016e7e7dd3caaeb476a193acf737db31ee38"]
waitress = ["278e09d6849acc1365404bbf7d790d0423b159802e850c726e8cd0a126a2dac7", "f103e557725b17ae3c62f9e6005cdd85103f8b68fa86cf7c764ba7adc38ca5a2"]
wcwidth = ["3df37372226d6e63e1b1e1eda15c594bca98a22d33a23832a90998faa96bc65e", "f4ebe71925af7b40a864553f761ed559b43544f8f71746c2d756c7fe788ade7c"]
webob = ["05aaab7975e0ee8af2026325d656e5ce14a71f1883c52276181821d6d5bf7086", "36db8203c67023d68c1b00208a7bf55e3b10de2aa317555740add29c619de12b"]
webtest = ["41348efe4323a647a239c31cde84e5e440d726ca4f449859264e538d39037fd0", "f3a603b8f1dd873b9710cd5a7dd0889cf758d7e1c133b1dae971c04f567e566e"]
zipp = ["3718b1cbcd963c7d4c5511a8240812904164b7f381b647143a89d3b98f9bcd8e", "f06903e9f1f43b12d371004b4ac7b06ab39a44adc747266928ae6debfa7b3335"]
"zope.deprecation" = ["0d453338f04bacf91bbfba545d8bcdf529aa829e67b705eac8c1a7fdce66e2df", "f1480b74995958b24ce37b0ef04d3663d2683e5d6debc96726eff18acf4ea113"]
"zope.interface" = ["048b16ac882a05bc7ef534e8b9f15c9d7a6c190e24e8938a19b7617af4ed854a", "05816cf8e7407cf62f2ec95c0a5d69ec4fa5741d9ccd10db9f21691916a9a098", "065d6a1ac89d35445168813bed45048ed4e67a4cdfc5a68fdb626a770378869f", "14157421f4121a57625002cc4f48ac7521ea238d697c4a4459a884b62132b977", "18dc895945694f397a0be86be760ff664b790f95d8e7752d5bab80284ff9105d", "1962c9f838bd6ae4075d0014f72697510daefc7e1c7e48b2607df0b6e157989c", "1a67408cacd198c7e6274a19920bb4568d56459e659e23c4915528686ac1763a", "21bf781076dd616bd07cf0223f79d61ab4f45176076f90bc2890e18c48195da4", "21c0a5d98650aebb84efa16ce2c8df1a46bdc4fe8a9e33237d0ca0b23f416ead", "23cfeea25d1e42ff3bf4f9a0c31e9d5950aa9e7c4b12f0c4bd086f378f7b7a71", "24b6fce1fb71abf9f4093e3259084efcc0ef479f89356757780685bd2b06ef37", "24f84ce24eb6b5fcdcb38ad9761524f1ae96f7126abb5e597f8a3973d9921409", "25e0ef4a824017809d6d8b0ce4ab3288594ba283e4d4f94d8cfb81d73ed65114", "2e8fdd625e9aba31228e7ddbc36bad5c38dc3ee99a86aa420f89a290bd987ce9", "2f3bc2f49b67b1bea82b942d25bc958d4f4ea6709b411cb2b6b9718adf7914ce", "35d24be9d04d50da3a6f4d61de028c1dd087045385a0ff374d93ef85af61b584", "35dbe4e8c73003dff40dfaeb15902910a4360699375e7b47d3c909a83ff27cd0", "3dfce831b824ab5cf446ed0c350b793ac6fa5fe33b984305cb4c966a86a8fb79", "3f7866365df5a36a7b8de8056cd1c605648f56f9a226d918ed84c85d25e8d55f", "455cc8c01de3bac6f9c223967cea41f4449f58b4c2e724ec8177382ddd183ab4", "4bb937e998be9d5e345f486693e477ba79e4344674484001a0b646be1d530487", "52303a20902ca0888dfb83230ca3ee6fbe63c0ad1dd60aa0bba7958ccff454d8", "6e0a897d4e09859cc80c6a16a29697406ead752292ace17f1805126a4f63c838", "6e1816e7c10966330d77af45f77501f9a68818c065dec0ad11d22b50a0e212e7", "73b5921c5c6ce3358c836461b5470bf675601c96d5e5d8f2a446951470614f67", "8093cd45cdb5f6c8591cfd1af03d32b32965b0f79b94684cd0c9afdf841982bb", "864b4a94b60db301899cf373579fd9ef92edddbf0fb2cd5ae99f53ef423ccc56", "8a27b4d3ea9c6d086ce8e7cdb3e8d319b6752e2a03238a388ccc83ccbe165f50", "91b847969d4784abd855165a2d163f72ac1e58e6dce09a5e46c20e58f19cc96d", "b47b1028be4758c3167e474884ccc079b94835f058984b15c145966c4df64d27", "b68814a322835d8ad671b7acc23a3b2acecba527bb14f4b53fc925f8a27e44d8", "bcb50a032c3b6ec7fb281b3a83d2b31ab5246c5b119588725b1350d3a1d9f6a3", "c56db7d10b25ce8918b6aec6b08ac401842b47e6c136773bfb3b590753f7fb67", "c94b77a13d4f47883e4f97f9fa00f5feadd38af3e6b3c7be45cfdb0a14c7149b", "db381f6fdaef483ad435f778086ccc4890120aff8df2ba5cfeeac24d280b3145", "e6487d01c8b7ed86af30ea141fcc4f93f8a7dde26f94177c1ad637c353bd5c07", "e86923fa728dfba39c5bb6046a450bd4eec8ad949ac404eca728cfce320d1732", "f6ca36dc1e9eeb46d779869c60001b3065fb670b5775c51421c099ea2a77c3c9", "fb62f2cbe790a50d95593fb40e8cca261c31a2f5637455ea39440d6457c2ba25"]

+ 46
- 0
pyproject.toml View File

@@ -0,0 +1,46 @@
[tool.poetry]
name = "flatfilecms"
version = "0.4"
description = "flat-file CMS suitable for static site"
authors = ["Radium, LLC <flatfilecms@radium.group>"]
license = "ISC"
readme = "README.rst"
homepage = "https://trac.radium.group/flatfilecms/"
keywords = ["web", "pyramid", "pylons", "flat-file", "CMS"]
classifiers = [
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: ISC License (ISCL)",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Site Management"
]

[tool.poetry.dependencies]
python = "^3.7"
pyramid = "^1.10"
PyYAML = "^5.1"
pyramid-debugtoolbar = { version = "^4.5", optional = true }
plaster_pastedeploy = "^0.7.0"
pyramid_jinja2 = "^2.8"
Markdown = "^3.1"
python-frontmatter = "^0.4.5"
pyramid-webpack = "^0.1.3"
Babel = "^2.7"

[tool.poetry.extras]
debug = ["pyramid-debugtoolbar"]

[tool.poetry.scripts]
generate-static-site = 'flatfilecms.scripts.generate:main'

[tool.poetry.dev-dependencies]
WebTest = "^2.0"
pytest = "^5.2"
pytest-cov = "^2.8"

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

[tool.poetry.plugins."paste.app_factory"]
main = "flatfilecms:main"

+ 0
- 57
setup.py View File

@@ -1,57 +0,0 @@
import os

from setuptools import setup, find_packages

here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.txt')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.txt')) as f:
CHANGES = f.read()

requires = [
'plaster_pastedeploy',
'pyramid >= 1.10',
'pyramid_debugtoolbar',
'pyramid_jinja2',
'pyramid_retry',
'pyramid_tm',
'transaction',
'waitress',
'Markdown',
'PyYAML',
'python-frontmatter',
'pyramid-htmlmin',
'pyramid-webpack',
'Babel',
]

tests_require = ['WebTest >= 1.3.1', 'pytest', 'pytest-cov'] # py3 compat

setup(
name='flatfilecms',
version='0.4',
description='flat-file CMS suitable for static site',
long_description=README + '\n\n' + CHANGES,
long_description_content_type='text/x-rst',
classifiers=[
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: ISC License (ISCL)',
'Framework :: Pyramid',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Site Management',
],
author='Radium, LLC',
author_email='inbox@radium-it.ru',
url='https://trac.radium.group/flatfilecms/',
keywords='web pyramid pylons flat-file CMS',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
extras_require={'testing': tests_require},
install_requires=requires,
entry_points={
'paste.app_factory': ['main = flatfilecms:main'],
'console_scripts':
['generate-static-site = flatfilecms.scripts.generate:main'],
},
)