#16671: 5th tutorial on turning Polls into a reusable app -------------------------------+------------------------------------ Reporter: stumbles | Owner: ben@… Type: New feature | Status: new Component: Documentation | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 -------------------------------+------------------------------------
Comment (by timo): In trying to address the fourth bullet point, I updated long_description as you suggested but the package still doesn't install properly when running setup.py outside django-polls-0.1: {{{ $ sudo python django-polls-0.1/setup.py install running install Checking .pth file support in /usr/local/lib/python2.7/dist-packages/ /usr/bin/python -E -c pass TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files running bdist_egg running egg_info writing django_polls.egg-info/PKG-INFO writing top-level names to django_polls.egg-info/top_level.txt writing dependency_links to django_polls.egg-info/dependency_links.txt warning: manifest_maker: standard file 'setup.py' not found reading manifest file 'django_polls.egg-info/SOURCES.txt' writing manifest file 'django_polls.egg-info/SOURCES.txt' installing library code to build/bdist.linux-i686/egg running install_lib warning: install_lib: 'build/lib.linux-i686-2.7' does not exist -- no Python modules to install creating build/bdist.linux-i686/egg creating build/bdist.linux-i686/egg/EGG-INFO copying django_polls.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG- INFO copying django_polls.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg /EGG-INFO copying django_polls.egg-info/dependency_links.txt -> build/bdist.linux-i686/egg/EGG-INFO copying django_polls.egg-info/top_level.txt -> build/bdist.linux-i686/egg /EGG-INFO zip_safe flag not set; analyzing archive contents... creating 'dist/django_polls-0.1-py2.7.egg' and adding 'build/bdist.linux-i686/egg' to it removing 'build/bdist.linux-i686/egg' (and everything under it) Processing django_polls-0.1-py2.7.egg creating /usr/local/lib/python2.7/dist-packages/django_polls-0.1-py2.7.egg Extracting django_polls-0.1-py2.7.egg to /usr/local/lib/python2.7/dist- packages Adding django-polls 0.1 to easy-install.pth file Installed /usr/local/lib/python2.7/dist- packages/django_polls-0.1-py2.7.egg Processing dependencies for django-polls==0.1 Finished processing dependencies for django-polls==0.1 }}} A directory is created: /usr/local/lib/python2.7/dist- packages/django_polls-0.1-py2.7.egg but the polls subdirectory is missing. -- Ticket URL: <https://code.djangoproject.com/ticket/16671#comment:30> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.