{"action":"created","issue":{"url":"https://api.github.com/repos/archivematica/Issues/issues/477","repository_url":"https://api.github.com/repos/archivematica/Issues","labels_url":"https://api.github.com/repos/archivematica/Issues/issues/477/labels{/name}","comments_url":"https://api.github.com/repos/archivematica/Issues/issues/477/comments","events_url":"https://api.github.com/repos/archivematica/Issues/issues/477/events","html_url":"https://github.com/archivematica/Issues/issues/477","id":406745812,"node_id":"MDU6SXNzdWU0MDY3NDU4MTI=","number":477,"title":"Problem: amclient.py cannot be imported easily without importing the entireity of the automation tools","user":{"login":"ross-spencer","id":1880412,"node_id":"MDQ6VXNlcjE4ODA0MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1880412?v=4","gravatar_id":"","url":"https://api.github.com/users/ross-spencer","html_url":"https://github.com/ross-spencer","followers_url":"https://api.github.com/users/ross-spencer/followers","following_url":"https://api.github.com/users/ross-spencer/following{/other_user}","gists_url":"https://api.github.com/users/ross-spencer/gists{/gist_id}","starred_url":"https://api.github.com/users/ross-spencer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ross-spencer/subscriptions","organizations_url":"https://api.github.com/users/ross-spencer/orgs","repos_url":"https://api.github.com/users/ross-spencer/repos","events_url":"https://api.github.com/users/ross-spencer/events{/privacy}","received_events_url":"https://api.github.com/users/ross-spencer/received_events","type":"User","site_admin":false},"labels":[{"id":1221456492,"node_id":"MDU6TGFiZWwxMjIxNDU2NDky","url":"https://api.github.com/repos/archivematica/Issues/labels/Wellcome","name":"Wellcome","color":"025831","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-02-05T11:47:50Z","updated_at":"2019-02-05T11:50:14Z","closed_at":null,"author_association":"MEMBER","body":"**Please describe the problem you'd like to be solved.**\r\n\r\nI would like to be able to install amclient.py as a requirement and make use of it as an import in multiple other repositories, AMAUAT, Automation-Tools, and Archivematica proper are two-such examples. \r\n\r\n**Describe the solution you'd like to see implemented.**\r\n\r\nI would like to see the `amclient.py` script packaged and available by `pip` so that it can be easily imported with ease. \r\n\r\n**Describe alternatives you've considered.**\r\n\r\nWe could leave it as is, but I think the only realistic way of using it then is via sub-modules and careful manipulation of import paths. \r\n\r\n**Additional context**\r\n\r\nThis feels like a good next step in general but it could support out current AMAUAT work as well. \r\n\r\nMets-reader-writer has a helper script to do this: https://github.com/artefactual-labs/mets-reader-writer/blob/master/Makefile \r\n\r\n---\r\n**For Artefactual use:**\r\nPlease make sure these steps are taken before moving this issue from Review to Verified in Waffle:\r\n\r\n- All PRs related to this issue are properly linked 👍\r\n- All PRs related to this issue have been merged 👍\r\n- Test plan for this issue has been implemented and passed 👍\r\n- Documentation regarding this issue has been written and it has been added to the release notes, if needed 👍\r\n"},"comment":{"url":"https://api.github.com/repos/archivematica/Issues/issues/comments/460609892","html_url":"https://github.com/archivematica/Issues/issues/477#issuecomment-460609892","issue_url":"https://api.github.com/repos/archivematica/Issues/issues/477","id":460609892,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2MDYwOTg5Mg==","user":{"login":"ross-spencer","id":1880412,"node_id":"MDQ6VXNlcjE4ODA0MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1880412?v=4","gravatar_id":"","url":"https://api.github.com/users/ross-spencer","html_url":"https://github.com/ross-spencer","followers_url":"https://api.github.com/users/ross-spencer/followers","following_url":"https://api.github.com/users/ross-spencer/following{/other_user}","gists_url":"https://api.github.com/users/ross-spencer/gists{/gist_id}","starred_url":"https://api.github.com/users/ross-spencer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ross-spencer/subscriptions","organizations_url":"https://api.github.com/users/ross-spencer/orgs","repos_url":"https://api.github.com/users/ross-spencer/repos","events_url":"https://api.github.com/users/ross-spencer/events{/privacy}","received_events_url":"https://api.github.com/users/ross-spencer/received_events","type":"User","site_admin":false},"created_at":"2019-02-05T11:50:14Z","updated_at":"2019-02-05T11:50:14Z","author_association":"MEMBER","body":"Hi @replaceafill does this seem like a potentially good ticket? The problem I want to solve is, that I want easy access to these helper functions in `amclient.py` but I haven't an easy way to incorporate them in another project. I am trying a sub-module, but a package may be better? Any other ideas? "}}
{"actor":{"display_login":"ross-spencer"}}