Skip to content

Commit

Permalink
creating an installable python package
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmirsky committed Feb 27, 2014
1 parent e194f8c commit 9fa5f3f
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 3 deletions.
17 changes: 16 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
*.pyc
*.py[cod]

# C extensions
*.so

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
develop-eggs


.DS_Store
Empty file added MANIFEST.in
Empty file.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Allows for quick setup and usage of the Infusionsoft XML-RPC API using Python's
## Usage
First, make sure you import the Infusionsoft class:

from InfusionsoftLibrary import Infusionsoft
from infusionsoft.library import Infusionsoft

Now set your Infusionsoft account name and API key:

Expand Down
2 changes: 1 addition & 1 deletion example.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from InfusionsoftLibrary import Infusionsoft
from infusionsoft.library import Infusionsoft

infusionsoft = Infusionsoft('Infusionsoft Account Name', 'API Key Goes Here')

Expand Down
Empty file added infusionsoft/__init__.py
Empty file.
File renamed without changes.
Empty file added setup.cfg
Empty file.
28 changes: 28 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/usr/bin/env python

from distutils.core import setup
from setuptools import find_packages

dependencies = [

]

links = [

]

setup(name='InfusionSoft API',
version='0.1',
description='python wrapper for InfusionSoft API',
author='',
author_email='',
scripts=[],
url='https://github.com/infusionsoft/Official-API-Python-Library',
packages=find_packages(),
include_package_data=True,
install_requires=dependencies,
dependency_links = links,
)



0 comments on commit 9fa5f3f

Please sign in to comment.