<div dir="ltr"><div><div><div>using pip on your setup.py works for me (in py2.7 though)<br><br></div>D:\test> make-project.bat<br><br>D:\test> pip install --editable project\.<br>Obtaining file:///d%7C%5Ctest%5Cproject<br>  Running setup.py egg_info for package from file:///d%7C%5Ctest%5Cproject<br><br>Installing collected packages: project<br>  Running setup.py develop for project<br><br>    Creating c:\python27\arcgis10.2\lib\site-packages\project.egg-link (link to .)<br>    Adding project 0.0.0 to easy-install.pth file<br><br>    Installed d:\test\project<br>Successfully installed project<br>Cleaning up...<br><br>D:\test> python -c "import project"<br><br></div><div>(empty line means success)<br></div><div><br></div>cheers,<br><br></div>-matt<br><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 7, 2014 at 10:28 AM, Cody Piersall <span dir="ltr"><<a href="mailto:cody.piersall@gmail.com" target="_blank">cody.piersall@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am having issues with using setup.py develop on my computer at work.  My understanding of the command is that it should make my project import-able without really installing it, so that I can continue to change my files without needing to reinstall the project.  <div><br></div><div>Here is a minimum example of the problem.  I create a new project (named project) with only a single package, and create the minimum setup.py file that I thought would work.</div><div><br></div><div><div>mkdir project</div><div>cd project</div><div>mkdir project</div><div>echo. > project\__init__.py</div><div>echo.from setuptools import setup>setup.py</div><div>echo.setup(>>setup.py</div><div>echo.    name='project',>>setup.py</div><div>echo.    packages=['project'],>>setup.py</div><div>echo.^)>>setup.py</div><div>cd ..</div></div><div><br></div><div>After running these commands (as a batch script), I did</div><div><br></div><div>cd project</div><div>python setup.py develop</div><div><br></div><div>but the project was not importable.  I can import it when I run `python setup.py install` though.  Here is the output of running python setup.py develop:</div><div><br></div>C:\Users\CWP\Development\project>python setup.py develop<br>running develop<br>running egg_info<br>creating project.egg-info<br>writing top-level names to project.egg-info\top_level.txt<br>writing project.egg-info\PKG-INFO<br>writing dependency_links to project.egg-info\dependency_links.txt<br>writing manifest file 'project.egg-info\SOURCES.txt'<br>reading manifest file 'project.egg-info\SOURCES.txt'<br>writing manifest file 'project.egg-info\SOURCES.txt'<br>running build_ext<br>Creating c:\python34\lib\site-packages\project.egg-link (link to .)<br>Adding project 0.0.0 to easy-install.pth file<br>Installed c:\users\cwp\development\project<br>Processing dependencies for project==0.0.0<br>Finished processing dependencies for project==0.0.0<div><br></div><div>I'm using Python 3.4.0 and setuptools 6.0.2.  I'm not sure if I'm using setuptools wrong, if my understanding of setuptools is wrong, or if this is a bug in setuptools under Windows.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Cody</div></font></span></div>
<br>_______________________________________________<br>
Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/distutils-sig" target="_blank">https://mail.python.org/mailman/listinfo/distutils-sig</a><br>
<br></blockquote></div><br></div>