[Eric] Praise & (stupid?) question

Mike Morris mike at musicplace.com
Thu Jul 6 00:18:05 BST 2017


On 07/04/2017 11:47 PM, Burkhard Schilling wrote:
> Oh sorry, i mean: "add new source Directory" . is it what you need?

Certainly sounds like it, doesn't it? But it's not... this does not 
actually add a Directory; it will find any source files in the specified 
(pre-existing) directory, and add them to the Project. But, no, it does 
not actually create a directory.

Right-click's "New package" *DOES* create a directory, but it has two 
side effects which are not always desirable:

  * Adding the directory to the Project (not what I want when creating
    dirs for project management, obsolete versions, dev notes, etc)
  * Creating an __init__ file in the directory... a minor annoyance
    since it's zero bytes, but could conceivably cause mischief by
    adding a package to the namespace unintentionally.

Right now I'm just using OS tools to create new, non-package dirs... I'm 
just surprised that eric doesn't appear to support that directly...

Thanks,

MikeM

>
>
> Am 05.07.17 um 08:43 schrieb Burkhard Schilling:
>> I use the right mouse button in this case and click on "New Package".
>>
>>
>> Best
>>
>> Burkhard
>>
>> Am 05.07.17 um 01:21 schrieb Mike Morris:
>>> I'm new to python and eric, and starting a django project. Eric is
>>> inherently awesome, and the python mode + django plugin make it a
>>> perfect environment for my needs... thanks to all who make it possible!
>>>
>>> I do have one potentially stupid question.... which is, I can't figure
>>> out how to create a new subdirectory without making it a python
>>> package. Am I missing something obvious, or must this be accomplished
>>> outside of eric?
>>>
>>> Thanks again for all the hard work that's obviously gone into this
>>> project!
>>>
>>> Sincerely,
>>>
>>> MikeM
>>>
>>> _______________________________________________
>>> Eric mailing list
>>> Eric at riverbankcomputing.com
>>> https://www.riverbankcomputing.com/mailman/listinfo/eric
>> _______________________________________________
>> Eric mailing list
>> Eric at riverbankcomputing.com
>> https://www.riverbankcomputing.com/mailman/listinfo/eric
> _______________________________________________
> Eric mailing list
> Eric at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/eric

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20170705/10b99bb8/attachment.html>


More information about the Eric mailing list