comoga/django-constance — Issue #8: install problem (win)
Author: km3
Created: 2011-11-23 12:11:35+00:00
State: open

When I try to install django-constance use
pip install django-constance or pip install -e git+git://github.com/comoga/django-constance#egg=django-constance
ог use git clone and python setup.py install,
I see the same install error
log:

c:\Temp\django-constance>python setup.py install
running install
running bdist_egg
running egg_info
writing django_constance.egg-info\PKG-INFO
writing top-level names to django_constance.egg-info\top_level.txt
writing dependency_links to django_constance.egg-info\dependency_links.txt
reading manifest file 'django_constance.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
Traceback (most recent call last):
File "setup.py", line 36, in
test_suite='tests.runtests.main',
File "c:\Python27\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "c:\Python27\lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "c:\Python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "c:\Python27\lib\site-packages\setuptools\command\install.py", line 76, i
n run
self.do_egg_install()
File "c:\Python27\lib\site-packages\setuptools\command\install.py", line 96, i
n do_egg_install
self.run_command('bdist_egg')
File "c:\Python27\lib\distutils\cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "c:\Python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "c:\Python27\lib\site-packages\setuptools\command\bdist_egg.py", line 167
, in run
self.run_command("egg_info")
File "c:\Python27\lib\distutils\cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "c:\Python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "c:\Python27\lib\site-packages\setuptools\command\egg_info.py", line 177,
in run
self.find_sources()
File "c:\Python27\lib\site-packages\setuptools\command\egg_info.py", line 252,
in find_sources
mm.run()
File "c:\Python27\lib\site-packages\setuptools\command\egg_info.py", line 308,
in run
self.read_template()
File "c:\Python27\lib\site-packages\setuptools\command\sdist.py", line 162, in
read_template
sys.exc_info()[2].tb_next.tb_frame.f_locals['template'].close()
File "c:\Python27\lib\distutils\text_file.py", line 128, in close
self.file.close ()
AttributeError: 'NoneType' object has no attribute 'close'