3.  #313 Delete duplicate
"here"<https://github.com/Supervisor/supervisor/pull/313>

If use os.path.abspath(os.path.normpath(os.path.dirname(__file__))), it
never raise error, And it has two Variable call here, so i think may be
delete one.


2013/11/21 chris <[email protected]>

> #314 reconstruction 
> states.py<https://github.com/Supervisor/supervisor/pull/314>
>
> When i read the states.py, I discovered that in fact it is mostly
> repetitive processing a logical. So i use the partial to reconstruction
> this.
>
> 3.  #313 Delete duplicate "here"
>
>
> 2013/11/20 小明明 <[email protected]>
>
>> Hi,all:
>>    Recently I started reading supervisor code, I found some problems, and
>> commit the following three PR:
>>    1. #315 <https://github.com/Supervisor/supervisor/pull/315>add
>> MANIFEST.in file <https://github.com/Supervisor/supervisor/pull/315>
>>
>> After i use sudo python setup.py install to install supervisor on my OS
>> X 10.8.5. i excute supervisord, but to see this:
>>
>> Traceback (most recent call last):
>>   File "/usr/local/bin/supervisord", line 9, in <module>
>>     load_entry_point('supervisor==3.1a1-dev', 'console_scripts', 
>> 'supervisord')()
>>   File 
>> "/Library/Python/2.7/site-packages/distribute-0.6.49-py2.7.egg/pkg_resources.py",
>>  line 345, in load_entry_point
>>     return get_distribution(dist).load_entry_point(group, name)
>>   File 
>> "/Library/Python/2.7/site-packages/distribute-0.6.49-py2.7.egg/pkg_resources.py",
>>  line 2381, in load_entry_point
>>     return ep.load()
>>   File 
>> "/Library/Python/2.7/site-packages/distribute-0.6.49-py2.7.egg/pkg_resources.py",
>>  line 2087, in load
>>     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
>>   File 
>> "/Library/Python/2.7/site-packages/supervisor-3.1a1_dev-py2.7.egg/supervisor/supervisord.py",
>>  line 41, in <module>
>>     from supervisor.options import ServerOptions
>>   File 
>> "/Library/Python/2.7/site-packages/supervisor-3.1a1_dev-py2.7.egg/supervisor/options.py",
>>  line 57, in <module>
>>     VERSION = open(version_txt).read().strip()
>> IOError: [Errno 2] No such file or directory: 
>> '/Library/Python/2.7/site-packages/supervisor-3.1a1_dev-py2.7.egg/supervisor/version.txt'
>>
>> I think this is because when installing the supervisor/version.txt file
>> included in, so adding a MANIFEST.in 
>> template<http://docs.python.org/2/distutils/sourcedist.html#the-manifest-in-template>
>>     2.
>>
>>
>
>
_______________________________________________
Supervisor-users mailing list
[email protected]
https://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to