Skip to content

Instantly share code, notes, and snippets.

@kaymccormick
Created August 29, 2018 20:12
Show Gist options
  • Save kaymccormick/fce2c1aac96b0046c8a8a05f7ab421da to your computer and use it in GitHub Desktop.
Save kaymccormick/fce2c1aac96b0046c8a8a05f7ab421da to your computer and use it in GitHub Desktop.
================================= test session starts =================================
platform linux -- Python 3.7.0, pytest-3.7.3, py-1.6.0, pluggy-0.7.1
rootdir: /home/user/j/jade/newsrc/pyramid_res, inifile:
collected 0 items / 1 errors
======================================= ERRORS ========================================
___________________ ERROR collecting tests/test_resourceManager.py ____________________
ImportError while importing test module '/home/user/j/jade/newsrc/pyramid_res/tests/test_resourceManager.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_resourceManager.py:3: in <module>
from pyramid_res import ResourceManager
E ImportError: cannot import name 'ResourceManager' from 'pyramid_res' (unknown location)
!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.10 seconds ===============================
@paigethylamine
Copy link

Seems ok to me but seems to be missing a dependency for pyramid_jinja2

➜  pyramid_res git:(master) python setup.py test
running test
Searching for pyramid
Reading https://pypi.python.org/simple/pyramid/
Downloading https://files.pythonhosted.org/packages/0a/3e/22e3ac9be1b70a01139adba8906ee4b8f628bb469fea3c52f6c97b73063c/pyramid-1.10.1.tar.gz#sha256=37c3e1c9eae72817e0365e2a38143543aee8b75240701fa5cb3a1be86c01a1c0
Best match: pyramid 1.10.1
Processing pyramid-1.10.1.tar.gz
Writing /tmp/easy_install-dV8_VZ/pyramid-1.10.1/setup.cfg
Running pyramid-1.10.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-dV8_VZ/pyramid-1.10.1/egg-dist-tmp-Kyk3V4
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'project_urls'
  warnings.warn(msg)
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '__pycache__' found anywhere in distribution
warning: no previously-included files matching '*.py[cod]' found anywhere in distribution
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
creating /root/pyramid_res/.eggs/pyramid-1.10.1-py2.7.egg
Extracting pyramid-1.10.1-py2.7.egg to /root/pyramid_res/.eggs

Installed /root/pyramid_res/.eggs/pyramid-1.10.1-py2.7.egg
Searching for repoze.lru>=0.4
Reading https://pypi.python.org/simple/repoze.lru/
Downloading https://files.pythonhosted.org/packages/12/bc/595a77c4b5e204847fdf19268314ef59c85193a9dc9f83630fc459c0fee5/repoze.lru-0.7.tar.gz#sha256=0429a75e19380e4ed50c0694e26ac8819b4ea7851ee1fc7583c8572db80aff77
Best match: repoze.lru 0.7
Processing repoze.lru-0.7.tar.gz
Writing /tmp/easy_install-rigpWL/repoze.lru-0.7/setup.cfg
Running repoze.lru-0.7/setup.py -q bdist_egg --dist-dir /tmp/easy_install-rigpWL/repoze.lru-0.7/egg-dist-tmp-jeP9z6
creating /root/pyramid_res/.eggs/repoze.lru-0.7-py2.7.egg
Extracting repoze.lru-0.7-py2.7.egg to /root/pyramid_res/.eggs

Installed /root/pyramid_res/.eggs/repoze.lru-0.7-py2.7.egg
Searching for zope.deprecation>=3.5.0
Reading https://pypi.python.org/simple/zope.deprecation/
Downloading https://files.pythonhosted.org/packages/34/da/46e92d32d545dd067b9436279d84c339e8b16de2ca393d7b892bc1e1e9fd/zope.deprecation-4.4.0.tar.gz#sha256=0d453338f04bacf91bbfba545d8bcdf529aa829e67b705eac8c1a7fdce66e2df
Best match: zope.deprecation 4.4.0
Processing zope.deprecation-4.4.0.tar.gz
Writing /tmp/easy_install-ItyiN1/zope.deprecation-4.4.0/setup.cfg
Running zope.deprecation-4.4.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ItyiN1/zope.deprecation-4.4.0/egg-dist-tmp-1uN8U4
warning: no previously-included files matching '*.pyc' found anywhere in distribution
creating /root/pyramid_res/.eggs/zope.deprecation-4.4.0-py2.7.egg
Extracting zope.deprecation-4.4.0-py2.7.egg to /root/pyramid_res/.eggs

Installed /root/pyramid_res/.eggs/zope.deprecation-4.4.0-py2.7.egg
Searching for webob>=1.8.3
Reading https://pypi.python.org/simple/webob/
Downloading https://files.pythonhosted.org/packages/e4/6c/99e322c3d4cc11d9060a67a9bf2f7c9c581f40988c11fffe89bb8c36bc5e/WebOb-1.8.4.tar.gz#sha256=a48315158db05df0c47fbdd061b57ba0ba85bdd0b6ea9dca87511b4b7c798e99
Best match: WebOb 1.8.4
Processing WebOb-1.8.4.tar.gz
Writing /tmp/easy_install-BkPYkY/WebOb-1.8.4/setup.cfg
Running WebOb-1.8.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-BkPYkY/WebOb-1.8.4/egg-dist-tmp-ceyIit
Moving WebOb-1.8.4-py2.7.egg to /root/pyramid_res/.eggs

Installed /root/pyramid_res/.eggs/WebOb-1.8.4-py2.7.egg
Searching for venusian>=1.0
Reading https://pypi.python.org/simple/venusian/
Downloading https://files.pythonhosted.org/packages/38/24/b4b470ab9e0a2e2e9b9030c7735828c8934b4c6b45befd1bb713ec2aeb2d/venusian-1.1.0.tar.gz#sha256=9902e492c71a89a241a18b2f9950bea7e41d025cc8f3af1ea8d8201346f8577d
Best match: venusian 1.1.0
Processing venusian-1.1.0.tar.gz
Writing /tmp/easy_install-V62MUx/venusian-1.1.0/setup.cfg
Running venusian-1.1.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-V62MUx/venusian-1.1.0/egg-dist-tmp-63D4D5
creating /root/pyramid_res/.eggs/venusian-1.1.0-py2.7.egg
Extracting venusian-1.1.0-py2.7.egg to /root/pyramid_res/.eggs

Installed /root/pyramid_res/.eggs/venusian-1.1.0-py2.7.egg
Searching for translationstring>=0.4
Reading https://pypi.python.org/simple/translationstring/
Downloading https://files.pythonhosted.org/packages/5e/eb/bee578cc150b44c653b63f5ebe258b5d0d812ddac12497e5f80fcad5d0b4/translationstring-1.3.tar.gz#sha256=4ee44cfa58c52ade8910ea0ebc3d2d84bdcad9fa0422405b1801ec9b9a65b72d
Best match: translationstring 1.3
Processing translationstring-1.3.tar.gz
Writing /tmp/easy_install-l_yW0N/translationstring-1.3/setup.cfg
Running translationstring-1.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-l_yW0N/translationstring-1.3/egg-dist-tmp-PL723y
no previously-included directories found matching 'docs/_build'
creating /root/pyramid_res/.eggs/translationstring-1.3-py2.7.egg
Extracting translationstring-1.3-py2.7.egg to /root/pyramid_res/.eggs

Installed /root/pyramid_res/.eggs/translationstring-1.3-py2.7.egg
Searching for plaster_pastedeploy
Reading https://pypi.python.org/simple/plaster_pastedeploy/
Downloading https://files.pythonhosted.org/packages/3f/e7/6a6833158d2038ec40085433308a1e164fd1dac595513f6dd556d5669bb8/plaster_pastedeploy-0.6.tar.gz#sha256=c231130cb86ae414084008fe1d1797db7e61dc5eaafb5e755de21387c27c6fae
Best match: plaster-pastedeploy 0.6
Processing plaster_pastedeploy-0.6.tar.gz
Writing /tmp/easy_install-jLD3Cp/plaster_pastedeploy-0.6/setup.cfg
Running plaster_pastedeploy-0.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-jLD3Cp/plaster_pastedeploy-0.6/egg-dist-tmp-T4rRZd
warning: no files found matching 'rtd.txt'
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[cod]' found under directory '*'
creating /root/pyramid_res/.eggs/plaster_pastedeploy-0.6-py2.7.egg
Extracting plaster_pastedeploy-0.6-py2.7.egg to /root/pyramid_res/.eggs

Installed /root/pyramid_res/.eggs/plaster_pastedeploy-0.6-py2.7.egg
Searching for plaster
Reading https://pypi.python.org/simple/plaster/
Downloading https://files.pythonhosted.org/packages/37/e1/56d04382d718d32751017d32f351214384e529b794084eee20bb52405563/plaster-1.0.tar.gz#sha256=8351c7c7efdf33084c1de88dd0f422cbe7342534537b553c49b857b12d98c8c3
Best match: plaster 1.0
Processing plaster-1.0.tar.gz
Writing /tmp/easy_install-zbAdzl/plaster-1.0/setup.cfg
Running plaster-1.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-zbAdzl/plaster-1.0/egg-dist-tmp-fNDr8M
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[cod]' found under directory '*'
no previously-included directories found matching 'docs/_build'
creating /root/pyramid_res/.eggs/plaster-1.0-py2.7.egg
Extracting plaster-1.0-py2.7.egg to /root/pyramid_res/.eggs

Installed /root/pyramid_res/.eggs/plaster-1.0-py2.7.egg
Searching for hupper
Reading https://pypi.python.org/simple/hupper/
Downloading https://files.pythonhosted.org/packages/f1/75/1915dc7650b4867fa3049256e24ca8eddb5989998fcec788cf52b9812dfc/hupper-1.4.2.tar.gz#sha256=eb3778398658a011c96e620adcd73175f306f880a6d86b2ebb6d2a15a74b6b9b
Best match: hupper 1.4.2
Processing hupper-1.4.2.tar.gz
Writing /tmp/easy_install-ZjGFMB/hupper-1.4.2/setup.cfg
Running hupper-1.4.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ZjGFMB/hupper-1.4.2/egg-dist-tmp-XIwOCw
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[cod]' found under directory '*'
creating /root/pyramid_res/.eggs/hupper-1.4.2-py2.7.egg
Extracting hupper-1.4.2-py2.7.egg to /root/pyramid_res/.eggs

Installed /root/pyramid_res/.eggs/hupper-1.4.2-py2.7.egg
Searching for PasteDeploy>=1.5.0
Reading https://pypi.python.org/simple/PasteDeploy/
Downloading https://files.pythonhosted.org/packages/19/a0/5623701df7e2478a68a1b685d1a84518024eef994cde7e4da8449a31616f/PasteDeploy-2.0.1.tar.gz#sha256=d423fb9d51fdcf853aa4ff43ac7ec469b643ea19590f67488122d6d0d772350a
Best match: PasteDeploy 2.0.1
Processing PasteDeploy-2.0.1.tar.gz
Writing /tmp/easy_install-PddGMl/PasteDeploy-2.0.1/setup.cfg
Running PasteDeploy-2.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-PddGMl/PasteDeploy-2.0.1/egg-dist-tmp-DPuH4V
zip_safe flag not set; analyzing archive contents...

Installed /tmp/easy_install-PddGMl/PasteDeploy-2.0.1/.eggs/pytest_runner-4.2-py2.7.egg
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'project_urls'
  warnings.warn(msg)
warning: no files found matching 'docs/*.txt'
creating /root/pyramid_res/.eggs/PasteDeploy-2.0.1-py2.7.egg
Extracting PasteDeploy-2.0.1-py2.7.egg to /root/pyramid_res/.eggs

Installed /root/pyramid_res/.eggs/PasteDeploy-2.0.1-py2.7.egg
Searching for WebTest
Reading https://pypi.python.org/simple/WebTest/
Downloading https://files.pythonhosted.org/packages/27/9f/9e74449d272ffbef4fb3012e6dbc53c0b24822d545e7a33a342f80131e59/WebTest-2.0.32.tar.gz#sha256=4221020d502ff414c5fba83c1213985b83219cb1cc611fe58aa4feaf96b5e062
Best match: WebTest 2.0.32
Processing WebTest-2.0.32.tar.gz
Writing /tmp/easy_install-E0oIlc/WebTest-2.0.32/setup.cfg
Running WebTest-2.0.32/setup.py -q bdist_egg --dist-dir /tmp/easy_install-E0oIlc/WebTest-2.0.32/egg-dist-tmp-BZ5vgh
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '__pycache__' found anywhere in distribution
creating /root/pyramid_res/.eggs/WebTest-2.0.32-py2.7.egg
Extracting WebTest-2.0.32-py2.7.egg to /root/pyramid_res/.eggs

Installed /root/pyramid_res/.eggs/WebTest-2.0.32-py2.7.egg
Searching for beautifulsoup4
Reading https://pypi.python.org/simple/beautifulsoup4/
Downloading https://files.pythonhosted.org/packages/88/df/86bffad6309f74f3ff85ea69344a078fc30003270c8df6894fca7a3c72ff/beautifulsoup4-4.6.3.tar.gz#sha256=90f8e61121d6ae58362ce3bed8cd997efb00c914eae0ff3d363c32f9a9822d10
Best match: beautifulsoup4 4.6.3
Processing beautifulsoup4-4.6.3.tar.gz
Writing /tmp/easy_install-UYCZik/beautifulsoup4-4.6.3/setup.cfg
Running beautifulsoup4-4.6.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-UYCZik/beautifulsoup4-4.6.3/egg-dist-tmp-KSjCkC
zip_safe flag not set; analyzing archive contents...
bs4.__init__: module references __file__
creating /root/pyramid_res/.eggs/beautifulsoup4-4.6.3-py2.7.egg
Extracting beautifulsoup4-4.6.3-py2.7.egg to /root/pyramid_res/.eggs

Installed /root/pyramid_res/.eggs/beautifulsoup4-4.6.3-py2.7.egg
Searching for waitress>=0.8.5
Reading https://pypi.python.org/simple/waitress/
Downloading https://files.pythonhosted.org/packages/3c/68/1c10dd5c556872ceebe88483b0436140048d39de83a84a06a8baa8136f4f/waitress-1.1.0.tar.gz#sha256=d33cd3d62426c0f1b3cd84ee3d65779c7003aae3fc060dee60524d10a57f05a9
Best match: waitress 1.1.0
Processing waitress-1.1.0.tar.gz
Writing /tmp/easy_install-NHrzQe/waitress-1.1.0/setup.cfg
Running waitress-1.1.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-NHrzQe/waitress-1.1.0/egg-dist-tmp-CzMT1u
creating /root/pyramid_res/.eggs/waitress-1.1.0-py2.7.egg
Extracting waitress-1.1.0-py2.7.egg to /root/pyramid_res/.eggs

Installed /root/pyramid_res/.eggs/waitress-1.1.0-py2.7.egg
running egg_info
creating pyramid_res.egg-info
writing requirements to pyramid_res.egg-info/requires.txt
writing pyramid_res.egg-info/PKG-INFO
writing top-level names to pyramid_res.egg-info/top_level.txt
writing dependency_links to pyramid_res.egg-info/dependency_links.txt
writing entry points to pyramid_res.egg-info/entry_points.txt
writing manifest file 'pyramid_res.egg-info/SOURCES.txt'
reading manifest file 'pyramid_res.egg-info/SOURCES.txt'
writing manifest file 'pyramid_res.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
  File "setup.py", line 73, in <module>
    """,
  File "/usr/lib64/python2.7/site-packages/setuptools/__init__.py", line 129, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib64/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib64/python2.7/site-packages/setuptools/command/test.py", line 226, in run
    self.run_tests()
  File "/usr/lib64/python2.7/site-packages/setuptools/command/test.py", line 249, in run_tests
    **exit_kwarg
  File "/usr/lib64/python2.7/unittest/main.py", line 94, in __init__
    self.parseArgs(argv)
  File "/usr/lib64/python2.7/unittest/main.py", line 149, in parseArgs
    self.createTests()
  File "/usr/lib64/python2.7/unittest/main.py", line 158, in createTests
    self.module)
  File "/usr/lib64/python2.7/unittest/loader.py", line 130, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib64/python2.7/unittest/loader.py", line 91, in loadTestsFromName
    module = __import__('.'.join(parts_copy))
ImportError: No module named pyramid_jinja2
➜  pyramid_res git:(master) ✗ ls
pyramid_res  pyramid_res.egg-info  setup.py  tests
➜  pyramid_res git:(master) ✗ pip install --user pyramid_jinja2
Collecting pyramid_jinja2
  Downloading https://files.pythonhosted.org/packages/21/30/fdd0b9a365a60c9e56ae4730c8839eae603f7a87696df14dbd4f980acf35/pyramid_jinja2-2.7-py2.py3-none-any.whl (70kB)
    100% |████████████████████████████████| 71kB 191kB/s
Requirement already satisfied: MarkupSafe in /usr/lib64/python2.7/site-packages (from pyramid_jinja2)
Collecting Jinja2>=2.5.0 (from pyramid_jinja2)
  Downloading https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl (126kB)
    100% |████████████████████████████████| 133kB 517kB/s
Collecting pyramid>=1.3.0 (from pyramid_jinja2)
  Downloading https://files.pythonhosted.org/packages/4c/87/ec5697dec883ac96f2179ec83b31f9ee1b9482d8979ef83cba3b98f39c4e/pyramid-1.10.1-py2.py3-none-any.whl (325kB)
    100% |████████████████████████████████| 327kB 2.3MB/s
Collecting zope.deprecation (from pyramid_jinja2)
  Downloading https://files.pythonhosted.org/packages/f9/26/b935bbf9d27e898b87d80e7873a0200cebf239253d0afe7a59f82fe90fff/zope.deprecation-4.4.0-py2.py3-none-any.whl
Collecting repoze.lru>=0.4; python_version < "3.2" (from pyramid>=1.3.0->pyramid_jinja2)
  Downloading https://files.pythonhosted.org/packages/12/bc/595a77c4b5e204847fdf19268314ef59c85193a9dc9f83630fc459c0fee5/repoze.lru-0.7.tar.gz
Collecting hupper (from pyramid>=1.3.0->pyramid_jinja2)
  Downloading https://files.pythonhosted.org/packages/d8/5f/242706fefee74df5d17d79c027d95c48d751aa5095f56d44d17d5045c224/hupper-1.4.2-py2.py3-none-any.whl
Requirement already satisfied: zope.interface>=3.8.0 in /usr/lib64/python2.7/site-packages (from pyramid>=1.3.0->pyramid_jinja2)
Collecting plaster-pastedeploy (from pyramid>=1.3.0->pyramid_jinja2)
  Downloading https://files.pythonhosted.org/packages/d9/e2/de7cd499923dbf6aacc9b243f262817bfea3ffbbd4dcc5847e1aaec817a7/plaster_pastedeploy-0.6-py2.py3-none-any.whl
Requirement already satisfied: setuptools in /usr/lib64/python2.7/site-packages (from pyramid>=1.3.0->pyramid_jinja2)
Collecting plaster (from pyramid>=1.3.0->pyramid_jinja2)
  Downloading https://files.pythonhosted.org/packages/61/29/3ac8a5d03b2d9e6b876385066676472ba4acf93677acfc7360b035503d49/plaster-1.0-py2.py3-none-any.whl
Collecting venusian>=1.0 (from pyramid>=1.3.0->pyramid_jinja2)
  Downloading https://files.pythonhosted.org/packages/2f/c2/3d122e19287ed7d73f03821cef87e53673f27d41cae54ee3a46e92b147e2/venusian-1.1.0-py2.py3-none-any.whl
Collecting translationstring>=0.4 (from pyramid>=1.3.0->pyramid_jinja2)
  Downloading https://files.pythonhosted.org/packages/26/e7/9dcf5bcd32b3ad16db542845ad129c06927821ded434ae88f458e6190626/translationstring-1.3-py2.py3-none-any.whl
Collecting webob>=1.8.3 (from pyramid>=1.3.0->pyramid_jinja2)
  Downloading https://files.pythonhosted.org/packages/d7/e3/83ba0e92d703f46301e43c40412b05a3881d92e9b686bcb395a0f91817e5/WebOb-1.8.4-py2.py3-none-any.whl (113kB)
    100% |████████████████████████████████| 122kB 7.2MB/s
Collecting PasteDeploy>=1.5.0 (from plaster-pastedeploy->pyramid>=1.3.0->pyramid_jinja2)
  Downloading https://files.pythonhosted.org/packages/67/0c/faa9971b2e5e048b3b30008d04c72e4d5f63b42f48937c169acce2c5e70a/PasteDeploy-2.0.1-py2.py3-none-any.whl
Installing collected packages: Jinja2, repoze.lru, hupper, PasteDeploy, plaster, plaster-pastedeploy, venusian, translationstring, zope.deprecation, webob, pyramid, pyramid-jinja2
  Running setup.py install for repoze.lru ... done
Successfully installed Jinja2-2.10 PasteDeploy-2.0.1 hupper-1.4.2 plaster-1.0 plaster-pastedeploy-0.6 pyramid-1.10.1 pyramid-jinja2-2.7 repoze.lru-0.7 translationstring-1.3 venusian-1.1.0 webob-1.8.4 zope.deprecation-4.4.0
You are using pip version 9.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
➜  pyramid_res git:(master) ✗ python setup.py test
running test
Searching for WebTest
Best match: WebTest 2.0.32
Processing WebTest-2.0.32-py2.7.egg

Using /root/pyramid_res/.eggs/WebTest-2.0.32-py2.7.egg
Searching for beautifulsoup4
Best match: beautifulsoup4 4.6.3
Processing beautifulsoup4-4.6.3-py2.7.egg

Using /root/pyramid_res/.eggs/beautifulsoup4-4.6.3-py2.7.egg
Searching for waitress>=0.8.5
Best match: waitress 1.1.0
Processing waitress-1.1.0-py2.7.egg

Using /root/pyramid_res/.eggs/waitress-1.1.0-py2.7.egg
running egg_info
writing requirements to pyramid_res.egg-info/requires.txt
writing pyramid_res.egg-info/PKG-INFO
writing top-level names to pyramid_res.egg-info/top_level.txt
writing dependency_links to pyramid_res.egg-info/dependency_links.txt
writing entry points to pyramid_res.egg-info/entry_points.txt
reading manifest file 'pyramid_res.egg-info/SOURCES.txt'
writing manifest file 'pyramid_res.egg-info/SOURCES.txt'
running build_ext
test_it (pyramid_jinja2.tests.test_ext.GetTextWrapperTests) ... ok
test_custom_extension (pyramid_jinja2.tests.test_ext.TestExtensions) ... ok
test_i18n (pyramid_jinja2.tests.test_ext.TestExtensions) ... ok
test_filter (pyramid_jinja2.tests.test_filters.Test_filters_not_caching) ... ok
test_filter_with_arguments (pyramid_jinja2.tests.test_filters.Test_filters_not_caching) ... ok
test_filter (pyramid_jinja2.tests.test_filters.Test_model__filter) ... ok
test_filter_with_elements (pyramid_jinja2.tests.test_filters.Test_model__filter) ... ok
test_filter (pyramid_jinja2.tests.test_filters.Test_model_url_filter) ... ok
test_filter_with_elements (pyramid_jinja2.tests.test_filters.Test_model_url_filter) ... ok
test_filter (pyramid_jinja2.tests.test_filters.Test_resource_url_filter) ... ok
test_filter_with_elements (pyramid_jinja2.tests.test_filters.Test_resource_url_filter) ... ok
test_filter (pyramid_jinja2.tests.test_filters.Test_route_path_filter) ... ok
test_filter_with_arguments (pyramid_jinja2.tests.test_filters.Test_route_path_filter) ... ok
test_filter (pyramid_jinja2.tests.test_filters.Test_route_url_filter) ... ok
test_filter_with_arguments (pyramid_jinja2.tests.test_filters.Test_route_url_filter) ... ok
test_filter (pyramid_jinja2.tests.test_filters.Test_static_path_filter) ... ok
test_filter_with_arguments (pyramid_jinja2.tests.test_filters.Test_static_path_filter) ... ok
test_filter (pyramid_jinja2.tests.test_filters.Test_static_url_filter) ... ok
test_filter_with_arguments (pyramid_jinja2.tests.test_filters.Test_static_url_filter) ... ok
test_delay_init (pyramid_jinja2.tests.test_it.TestFileInfo) ... ok
test_mtime (pyramid_jinja2.tests.test_it.TestFileInfo) ... ok
test_notfound (pyramid_jinja2.tests.test_it.TestFileInfo) ... ok
test_uptodate (pyramid_jinja2.tests.test_it.TestFileInfo) ... ok
test_abs_tmpl_extends (pyramid_jinja2.tests.test_it.TestIntegrationDefaultSearchPath) ... ok
test_abs_tmpl_extends_missing (pyramid_jinja2.tests.test_it.TestIntegrationDefaultSearchPath) ... ok
test_asset_tmpl_deep_leaf (pyramid_jinja2.tests.test_it.TestIntegrationDefaultSearchPath) ... ok
test_asset_tmpl_deep_sub_leaf (pyramid_jinja2.tests.test_it.TestIntegrationDefaultSearchPath) ... ok
test_asset_tmpl_extends (pyramid_jinja2.tests.test_it.TestIntegrationDefaultSearchPath) ... ok
test_asset_tmpl_extends_spec (pyramid_jinja2.tests.test_it.TestIntegrationDefaultSearchPath) ... ok
test_asset_tmpl_helloworld (pyramid_jinja2.tests.test_it.TestIntegrationDefaultSearchPath) ... ok
test_relative_tmpl_extends (pyramid_jinja2.tests.test_it.TestIntegrationDefaultSearchPath) ... ok
test_relative_tmpl_extends_spec (pyramid_jinja2.tests.test_it.TestIntegrationDefaultSearchPath) ... ok
test_relative_tmpl_helloworld (pyramid_jinja2.tests.test_it.TestIntegrationDefaultSearchPath) ... ok
test_render_reload_templates (pyramid_jinja2.tests.test_it.TestIntegrationReloading) ... ok
test_abs_tmpl_extends (pyramid_jinja2.tests.test_it.TestIntegrationWithSearchPath) ... ok
test_abs_tmpl_extends_missing (pyramid_jinja2.tests.test_it.TestIntegrationWithSearchPath) ... ok
test_asset_tmpl_deep_leaf (pyramid_jinja2.tests.test_it.TestIntegrationWithSearchPath) ... ok
test_asset_tmpl_deep_sub_leaf (pyramid_jinja2.tests.test_it.TestIntegrationWithSearchPath) ... ok
test_asset_tmpl_extends (pyramid_jinja2.tests.test_it.TestIntegrationWithSearchPath) ... ok
test_asset_tmpl_extends_spec (pyramid_jinja2.tests.test_it.TestIntegrationWithSearchPath) ... ok
test_asset_tmpl_helloworld (pyramid_jinja2.tests.test_it.TestIntegrationWithSearchPath) ... ok
test_caller_relative_tmpl_extends_relbase (pyramid_jinja2.tests.test_it.TestIntegrationWithSearchPath) ... ok
test_recursive_tmpl (pyramid_jinja2.tests.test_it.TestIntegrationWithSearchPath) ... ok
test_relative_tmpl_extends (pyramid_jinja2.tests.test_it.TestIntegrationWithSearchPath) ... ok
test_relative_tmpl_extends_spec (pyramid_jinja2.tests.test_it.TestIntegrationWithSearchPath) ... ok
test_relative_tmpl_helloworld (pyramid_jinja2.tests.test_it.TestIntegrationWithSearchPath) ... ok
test_tmpl_extends (pyramid_jinja2.tests.test_it.TestIntegrationWithSearchPath) ... ok
test_tmpl_extends_relbase (pyramid_jinja2.tests.test_it.TestIntegrationWithSearchPath) ... ok
test_tmpl_extends_spec (pyramid_jinja2.tests.test_it.TestIntegrationWithSearchPath) ... ok
test_tmpl_helloworld (pyramid_jinja2.tests.test_it.TestIntegrationWithSearchPath) ... ok
test_it (pyramid_jinja2.tests.test_it.TestJinja2SearchPathIntegration) ... ok
test_it_relative_to_template (pyramid_jinja2.tests.test_it.TestJinja2SearchPathIntegration) ... ok
test_call (pyramid_jinja2.tests.test_it.TestJinja2TemplateRenderer) ... ok
test_call_with_nondict_value (pyramid_jinja2.tests.test_it.TestJinja2TemplateRenderer) ... ok
test_call_with_system_context (pyramid_jinja2.tests.test_it.TestJinja2TemplateRenderer) ... ok
test_it (pyramid_jinja2.tests.test_it.TestNewstyle) ... ok
test_caller_package (pyramid_jinja2.tests.test_it.TestPackageFinder) ... ok
test_get_source_from_path (pyramid_jinja2.tests.test_it.TestSmartAssetSpecLoader) ... ok
test_get_source_invalid_spec (pyramid_jinja2.tests.test_it.TestSmartAssetSpecLoader) ... ok
test_get_source_legacy_spec (pyramid_jinja2.tests.test_it.TestSmartAssetSpecLoader) ... ok
test_get_source_spec (pyramid_jinja2.tests.test_it.TestSmartAssetSpecLoader) ... ok
test_list_templates (pyramid_jinja2.tests.test_it.TestSmartAssetSpecLoader) ... ok
test_alternate_renderer_extension (pyramid_jinja2.tests.test_it.Test_add_jinja2_extension) ... ok
test_it (pyramid_jinja2.tests.test_it.Test_add_jinja2_extension) ... ok
test_it_relative_to_package (pyramid_jinja2.tests.test_it.Test_add_jinja2_searchpath) ... ok
test_bccache_instance (pyramid_jinja2.tests.test_it.Test_bytecode_caching) ... ok
test_default (pyramid_jinja2.tests.test_it.Test_bytecode_caching) ... ok
test_default_bccache (pyramid_jinja2.tests.test_it.Test_bytecode_caching) ... ok
test_directory (pyramid_jinja2.tests.test_it.Test_bytecode_caching) ... ok
test_pyramid_reload_templates (pyramid_jinja2.tests.test_it.Test_bytecode_caching) ... ok
test_filter_and_test_and_global_works_in_render (pyramid_jinja2.tests.test_it.Test_filters_and_tests) ... ok
test_set_multi_filters (pyramid_jinja2.tests.test_it.Test_filters_and_tests) ... ok
test_set_multi_globals (pyramid_jinja2.tests.test_it.Test_filters_and_tests) ... ok
test_set_multi_tests (pyramid_jinja2.tests.test_it.Test_filters_and_tests) ... ok
test_set_single_filter (pyramid_jinja2.tests.test_it.Test_filters_and_tests) ... ok
test_set_single_global (pyramid_jinja2.tests.test_it.Test_filters_and_tests) ... ok
test_set_single_test (pyramid_jinja2.tests.test_it.Test_filters_and_tests) ... ok
test_it (pyramid_jinja2.tests.test_it.Test_get_jinja2_environment) ... ok
test_it (pyramid_jinja2.tests.test_it.Test_includeme) ... ok
test_composite_directories_path (pyramid_jinja2.tests.test_it.Test_renderer_factory) ... ok
test_no_directories (pyramid_jinja2.tests.test_it.Test_renderer_factory) ... ok
test_no_environment (pyramid_jinja2.tests.test_it.Test_renderer_factory) ... ok
test_require_default_renderer (pyramid_jinja2.tests.test_it.Test_renderer_factory) ... ok
test_with_environ (pyramid_jinja2.tests.test_it.Test_renderer_factory) ... ok
test_with_filters_object (pyramid_jinja2.tests.test_it.Test_renderer_factory) ... ok
test_with_filters_string (pyramid_jinja2.tests.test_it.Test_renderer_factory) ... ok
test_debug_undefined (pyramid_jinja2.tests.test_settings.Test_parse_env_options_from_settings) ... ok
test_default_undefined (pyramid_jinja2.tests.test_settings.Test_parse_env_options_from_settings) ... ok
test_finalize (pyramid_jinja2.tests.test_settings.Test_parse_env_options_from_settings) ... ok
test_most_settings (pyramid_jinja2.tests.test_settings.Test_parse_env_options_from_settings) ... ok
test_override_gettext (pyramid_jinja2.tests.test_settings.Test_parse_env_options_from_settings) ... ok
test_strict_undefined (pyramid_jinja2.tests.test_settings.Test_parse_env_options_from_settings) ... ok
test_debug_fallback (pyramid_jinja2.tests.test_settings.Test_parse_loader_options_from_settings) ... ok
test_defaults (pyramid_jinja2.tests.test_settings.Test_parse_loader_options_from_settings) ... ok
test_options (pyramid_jinja2.tests.test_settings.Test_parse_loader_options_from_settings) ... ok
test_options_with_abspath (pyramid_jinja2.tests.test_settings.Test_parse_loader_options_from_settings) ... ok
test_options_with_relpath (pyramid_jinja2.tests.test_settings.Test_parse_loader_options_from_settings) ... ok
test_options_with_spec (pyramid_jinja2.tests.test_settings.Test_parse_loader_options_from_settings) ... ok
test_it_with_dict (pyramid_jinja2.tests.test_settings.Test_parse_named_assetspecs) ... ok
test_it_with_strings (pyramid_jinja2.tests.test_settings.Test_parse_named_assetspecs) ... ok

----------------------------------------------------------------------
Ran 100 tests in 1.617s

OK
➜  pyramid_res git:(master) ✗

@paigethylamine
Copy link

paigethylamine commented Dec 12, 2018

something you might want to check out when you have time is pipenv because it can make building a package less of a fuss: https://github.com/pypa/pipenv the name is deceiving but it's a package manager much like in the sense that npm is a package manager. It isn't completely different from pip but pipenv != pip. It's more like a wrapper for pip.

@paigethylamine
Copy link

paigethylamine commented Dec 12, 2018

Something else I wanted to suggest is maybe consider using your local site directory rather than installing packages globally because you can really fuck up your install that way. There's a lot of crap in the python packages and sometimes things get weird. So, what I do is:

➜  ~ python3.7 -m site
sys.path = [
    '/home/erratic',
    '/usr/lib/python37.zip',
    '/usr/lib/python3.7',
    '/usr/lib/python3.7/lib-dynload',
    '/usr/lib/python3.7/site-packages',
]
USER_BASE: '/home/erratic/.local' (exists)
USER_SITE: '/home/erratic/.local/lib/python3.7/site-packages' (doesn't exist)
ENABLE_USER_SITE: True
➜  ~

And install pip modules with:

 pip install --user <module>

or:

python setup.py install --user

this will install to ~/.local/{bin,include,lib,lib64,share} respectively. You don't need to set anything for python I believe it already checks to see if USER_BASE and USER_SITE exist already but if you want to you can add /home/users/j/jade/.local/bin/ to your PATH

pipenv also offers some environment features similar to virtualenv and site_local some people like them better, I prefer to use site_local since its built into python though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment