From 804cbf15211bbddddb9a4bc2761aeaa1724e667b Mon Sep 17 00:00:00 2001 From: Adam Coddington Date: Sat, 18 May 2013 17:20:41 -0700 Subject: [PATCH] Rearrange package to allow for installability. --- __init__.py => pyicloud/__init__.py | 0 base.py => pyicloud/base.py | 0 exceptions.py => pyicloud/exceptions.py | 0 {services => pyicloud/services}/__init__.py | 0 {services => pyicloud/services}/calendar.py | 0 .../services}/findmyiphone.py | 0 setup.py | 20 +++++++++++++++++++ 7 files changed, 20 insertions(+) rename __init__.py => pyicloud/__init__.py (100%) rename base.py => pyicloud/base.py (100%) rename exceptions.py => pyicloud/exceptions.py (100%) rename {services => pyicloud/services}/__init__.py (100%) rename {services => pyicloud/services}/calendar.py (100%) rename {services => pyicloud/services}/findmyiphone.py (100%) create mode 100644 setup.py diff --git a/__init__.py b/pyicloud/__init__.py similarity index 100% rename from __init__.py rename to pyicloud/__init__.py diff --git a/base.py b/pyicloud/base.py similarity index 100% rename from base.py rename to pyicloud/base.py diff --git a/exceptions.py b/pyicloud/exceptions.py similarity index 100% rename from exceptions.py rename to pyicloud/exceptions.py diff --git a/services/__init__.py b/pyicloud/services/__init__.py similarity index 100% rename from services/__init__.py rename to pyicloud/services/__init__.py diff --git a/services/calendar.py b/pyicloud/services/calendar.py similarity index 100% rename from services/calendar.py rename to pyicloud/services/calendar.py diff --git a/services/findmyiphone.py b/pyicloud/services/findmyiphone.py similarity index 100% rename from services/findmyiphone.py rename to pyicloud/services/findmyiphone.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..7c5394c --- /dev/null +++ b/setup.py @@ -0,0 +1,20 @@ +from setuptools import setup, find_packages + + +with open('requirements.txt') as f: + required = f.read().splitlines() + + +setup( + name='pyicloud', + version='0.1', + url='https://github.com/picklepete/pyicloud', + description=( + 'PyiCloud is a module which allows pythonistas to ' + 'interact with iCloud webservices.' + ), + author='Peter Evans', + author_email='evans.peter@gmail.com', + packages=find_packages(), + install_requires=required +)