From bafa4c9a2b798aefd7b2c05185c4244da6373842 Mon Sep 17 00:00:00 2001 From: Sachi King Date: Sat, 27 May 2017 21:02:24 +1000 Subject: [PATCH] Prepare to vendor --- .gitignore | 89 ----------------------------------- README.md | 2 - LICENSE => registripe/LICENSE | 0 requirements.txt | 4 -- setup.py | 35 -------------- 5 files changed, 130 deletions(-) delete mode 100644 .gitignore delete mode 100644 README.md rename LICENSE => registripe/LICENSE (100%) delete mode 100644 requirements.txt delete mode 100644 setup.py diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 72364f99..00000000 --- a/.gitignore +++ /dev/null @@ -1,89 +0,0 @@ -# Byte-compiled / optimized / DLL files -__pycache__/ -*.py[cod] -*$py.class - -# C extensions -*.so - -# Distribution / packaging -.Python -env/ -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -*.egg-info/ -.installed.cfg -*.egg - -# PyInstaller -# Usually these files are written by a python script from a template -# before PyInstaller builds the exe, so as to inject date/other infos into it. -*.manifest -*.spec - -# Installer logs -pip-log.txt -pip-delete-this-directory.txt - -# Unit test / coverage reports -htmlcov/ -.tox/ -.coverage -.coverage.* -.cache -nosetests.xml -coverage.xml -*,cover -.hypothesis/ - -# Translations -*.mo -*.pot - -# Django stuff: -*.log -local_settings.py - -# Flask stuff: -instance/ -.webassets-cache - -# Scrapy stuff: -.scrapy - -# Sphinx documentation -docs/_build/ - -# PyBuilder -target/ - -# IPython Notebook -.ipynb_checkpoints - -# pyenv -.python-version - -# celery beat schedule file -celerybeat-schedule - -# dotenv -.env - -# virtualenv -venv/ -ENV/ - -# Spyder project settings -.spyderproject - -# Rope project settings -.ropeproject diff --git a/README.md b/README.md deleted file mode 100644 index f85b1c25..00000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# registrasion-stripe -Provides Credit Card processing for Registrasion using the Stripe API. diff --git a/LICENSE b/registripe/LICENSE similarity index 100% rename from LICENSE rename to registripe/LICENSE diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 13955911..00000000 --- a/requirements.txt +++ /dev/null @@ -1,4 +0,0 @@ -django-countries==4.0 -pinax-stripe==3.2.1 -requests>=2.11.1 -stripe==1.38.0 diff --git a/setup.py b/setup.py deleted file mode 100644 index c803f16d..00000000 --- a/setup.py +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/env python -import os -from setuptools import setup, find_packages - -import registripe - - -def read_file(filename): - """Read a file into a string.""" - path = os.path.abspath(os.path.dirname(__file__)) - filepath = os.path.join(path, filename) - try: - return open(filepath).read() - except IOError: - return '' - -setup( - name="registrasion-stripe", - author="Christopher Neugebauer", - author_email="_@chrisjrn.com", - version=registripe.__version__, - description="Stripe-based payments for the Registrasion conference registration package.", - url="http://github.com/chrisjrn/registrasion-stripe/", - packages=find_packages(), - include_package_data=True, - classifiers=( - "Development Status :: 3 - Alpha", - "Programming Language :: Python", - "Framework :: Django", - "Intended Audience :: Developers", - "Natural Language :: English", - "License :: OSI Approved :: Apache Software License", - ), - install_requires=read_file("requirements.txt").splitlines(), -)