{"action":"created","issue":{"url":"https://api.github.com/repos/ianmiell/shutit/issues/170","labels_url":"https://api.github.com/repos/ianmiell/shutit/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/ianmiell/shutit/issues/170/comments","events_url":"https://api.github.com/repos/ianmiell/shutit/issues/170/events","html_url":"https://github.com/ianmiell/shutit/issues/170","id":57819709,"number":170,"title":"[question] Different py files in module dir","user":{"login":"marcelloromani","id":7853581,"avatar_url":"https://avatars.githubusercontent.com/u/7853581?v=3","gravatar_id":"","url":"https://api.github.com/users/marcelloromani","html_url":"https://github.com/marcelloromani","followers_url":"https://api.github.com/users/marcelloromani/followers","following_url":"https://api.github.com/users/marcelloromani/following{/other_user}","gists_url":"https://api.github.com/users/marcelloromani/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelloromani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelloromani/subscriptions","organizations_url":"https://api.github.com/users/marcelloromani/orgs","repos_url":"https://api.github.com/users/marcelloromani/repos","events_url":"https://api.github.com/users/marcelloromani/events{/privacy}","received_events_url":"https://api.github.com/users/marcelloromani/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-16T15:48:32Z","updated_at":"2015-02-16T15:54:01Z","closed_at":null,"body":"Say I have created a module and end up having multiple .py in the module's directory. How are they treated by a call to `shutit build`?\r\nIs one-py-file-per-module a recommended practice?"},"comment":{"url":"https://api.github.com/repos/ianmiell/shutit/issues/comments/74529041","html_url":"https://github.com/ianmiell/shutit/issues/170#issuecomment-74529041","issue_url":"https://api.github.com/repos/ianmiell/shutit/issues/170","id":74529041,"user":{"login":"ianmiell","id":7003341,"avatar_url":"https://avatars.githubusercontent.com/u/7003341?v=3","gravatar_id":"","url":"https://api.github.com/users/ianmiell","html_url":"https://github.com/ianmiell","followers_url":"https://api.github.com/users/ianmiell/followers","following_url":"https://api.github.com/users/ianmiell/following{/other_user}","gists_url":"https://api.github.com/users/ianmiell/gists{/gist_id}","starred_url":"https://api.github.com/users/ianmiell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianmiell/subscriptions","organizations_url":"https://api.github.com/users/ianmiell/orgs","repos_url":"https://api.github.com/users/ianmiell/repos","events_url":"https://api.github.com/users/ianmiell/events{/privacy}","received_events_url":"https://api.github.com/users/ianmiell/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T15:54:01Z","updated_at":"2015-02-16T15:54:01Z","body":"You can have multiple .py files per module, sure.\n\nBy convention, the config/build.cnf file should indicate which of these\nwill be built \"by default\".\n\nPerhaps you have differently-nuanced examples of a similar module that are\nnon-standard but available to mark as built. Or you have optional build\nsteps that go with a module (like a special \"debug\" setup only built on\nrequest that installs all sorts of weird stuff).\n\nIn these cases it makes sense to bundle the py files together rather than\nseparate them inconveniently in different folders.\n\nOn Mon, Feb 16, 2015 at 3:48 PM, marcelloromani <notifications@github.com>\nwrote:\n\n> Say I have created a module and end up having multiple .py in the module's\n> directory. How are they treated by a call to shutit build?\n> Is one-py-file-per-module a recommended practice?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/ianmiell/shutit/issues/170>.\n>\n"}}