Skip to content

Instantly share code, notes, and snippets.

@piotr-dobrogost
Last active September 29, 2015 07:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save piotr-dobrogost/1ed09aadd17a3dc96bd4 to your computer and use it in GitHub Desktop.
Save piotr-dobrogost/1ed09aadd17a3dc96bd4 to your computer and use it in GitHub Desktop.
(env)[piotr@demon kotti_content_proxy]$ pip list
alembic (0.8.2)
apipkg (1.4)
appdirs (1.4.0)
Babel (2.1.1)
Beaker (1.7.0)
beautifulsoup4 (4.4.1)
bleach (1.4.2)
bleach-whitelist (0.0.7)
Chameleon (2.22)
colander (1.0)
coverage (4.0)
cssselect (0.9.1)
deform (2.0a2)
docopt (0.6.2)
execnet (1.4.1)
fanstatic (1.0a5)
filedepot (0.1.1)
FormEncode (1.3.0)
funcsigs (0.4)
html2text (2015.6.21)
html5lib (1.0b8)
iso8601 (0.1.10)
js.angular (1.1.4)
js.bootstrap (3.3.4)
js.deform (2.0a2.post3)
js.fineuploader (3.3.0)
js.html5shiv (3.6.2.post1)
js.jquery (1.9.1)
js.jquery-form (3.9)
js.jquery-maskedinput (1.3.1)
js.jquery-maskmoney (1.4.1)
js.jquery-sortable (0.9.12)
js.jquery-tablednd (0.4)
js.jquery-timepicker-addon (1.5.3)
js.jqueryui (1.10.3)
js.jqueryui-tagit (2.0.24.post2)
js.modernizr (2.5.3.1)
js.select2 (3.4.1)
js.tinymce (4.1.5)
Kotti (1.2.0)
kotti-tinymce (0.5.4)
lingua (3.11)
lxml (3.4.4)
Mako (1.0.2)
MarkupSafe (0.23)
mechanize (0.2.5)
PasteDeploy (1.5.2)
pbr (1.8.0)
pep8 (1.6.2)
peppercorn (0.5)
Pillow (2.9.0)
pip (7.1.2)
plone.scale (1.3.5)
polib (1.0.7)
py (1.4.30)
py-bcrypt (0.4)
Pygments (2.0.2)
pyquery (1.2.9)
pyramid (1.5.7)
pyramid-beaker (0.8)
pyramid-chameleon (0.3)
pyramid-debugtoolbar (2.4.1)
pyramid-deform (0.2)
pyramid-mailer (0.14.1)
pyramid-mako (1.0.2)
pyramid-tm (0.12)
pyramid-zcml (1.0.0)
pytest (2.8.0)
pytest-cache (1.0)
pytest-cov (2.1.0)
pytest-pep8 (1.0.6)
pytest-xdist (1.13.1)
python-editor (0.4)
pytz (2015.6)
repoze.lru (0.6)
repoze.sendmail (4.2)
repoze.workflow (0.6.1)
repoze.zcml (1.0b1)
setuptools (18.2)
shutilwhich (1.1.0)
six (1.9.0)
SQLAlchemy (1.0.8)
SQLAlchemy-Utils (0.31.0)
transaction (1.4.4)
translationstring (1.3)
Unidecode (0.4.18)
usersettings (1.0.7)
venusian (1.0)
virtualenv (13.1.2)
waitress (0.8.10)
WebOb (1.4.1)
WebTest (2.0.18)
wheel (0.24.0)
wsgi-intercept (0.5.1)
zope.component (4.2.2)
zope.configuration (4.0.3)
zope.deprecation (4.1.2)
zope.event (4.0.3)
zope.i18nmessageid (4.0.3)
zope.interface (4.1.2)
zope.schema (4.4.2)
zope.sqlalchemy (0.7.6)
zope.testbrowser (4.0.4)
(env)[piotr@demon kotti_content_proxy]$ cat setup.cfg
[egg_info]
tag_build = dev
tag_svn_revision = true
[pytest]
addopts =
--doctest-modules --doctest-glob='*.rst' --capture=no
--cov=kotti_content_proxy --cov-report=term-missing
--strict
--tb=native
--pep8
--ignore=kotti_content_proxy/templates/
kotti_content_proxy/
python_files = test*py
markers =
user: mark test to be run as the given user
pep8: mark for pep8
[aliases]
dev = develop easy_install Kotti[testing] Kotti[development]
[compile_catalog]
directory = kotti_content_proxy/locale
domain = kotti_content_proxy
statistics = true
[extract_messages]
add_comments = TRANSLATORS:
output_file = kotti_content_proxy/locale/kotti_content_proxy.pot
width = 80
[init_catalog]
domain = kotti_content_proxy
input_file = kotti_content_proxy/locale/kotti_content_proxy.pot
output_dir = kotti_content_proxy/locale
[update_catalog]
domain = kotti_content_proxy
input_file = kotti_content_proxy/locale/kotti_content_proxy.pot
output_dir = kotti_content_proxy/locale
previous = true
(env)[piotr@demon kotti_content_proxy]$ cat setup.py
# -*- coding: utf-8 -*-
"""
Created on 2014-09-23
:author: Andreas Kaiser (disko)
"""
import os
from setuptools import find_packages
from setuptools import setup
version = '0.1dev'
project = 'kotti_content_proxy'
install_requires = [
'Kotti>=1.0.0',
]
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
setup(
name=project,
version=version,
description="A content type that proxies other content in a Kotti site", # noqa
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"License :: Repoze Public License",
],
keywords='kotti addon',
author='Andreas Kaiser',
author_email='disko@binary-punks.com',
url='https://github.com/Kotti',
license='BSD',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
tests_require=[],
entry_points={},
extras_require={},
message_extractors={
'kotti_content_proxy': [
('**.py', 'lingua_python', None),
('**.zcml', 'lingua_xml', None),
('**.pt', 'lingua_xml', None),
]
},
)
(env)[piotr@demon kotti_content_proxy]$ py.test
usage: py.test [options] [file_or_dir] [file_or_dir] [...]
py.test: error: unrecognized arguments: --cov=kotti_content_proxy --cov-report=term-missing --pep8
inifile: /home/piotr/projects/kotti_content_proxy/setup.cfg
rootdir: /home/piotr/projects/kotti_content_proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment