Skip to content

Commit

Permalink
final changes to version 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ma1onso committed Jan 2, 2020
1 parent 4b6039a commit 54d2435
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,5 @@ venv.bak/

# mypy
.mypy_cache/

.idea
16 changes: 12 additions & 4 deletions readme.md → README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
## Introduction
Django integration with epayco.co

## CONFIGURATIONS (settings.py)
## Installation
- `pip install depayco`.

- Set _depayco_ on INSTALLED_APPS.

- Run `python manage.py migrate`.

## Configurations (settings.py)

**EPAYCO_PUBLIC_KEY**: String

Expand Down Expand Up @@ -34,6 +41,7 @@ PLANS = (
}
)
```
TODOs:
- [ ] Upload to pypi
- [ ] Support User model out the auth.models.User

## How to use

`python manage.py sync_plans` to create plans on epayco.co
24 changes: 24 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import setuptools

with open('README.md', 'r') as readme:
long_description = readme.read()

setuptools.setup(
name='depayco',
version='1.0',
license='GPL',
author='Alonso',
author_email='alons45@gmail.com',
description='Django integration with epayco.co',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/ma1onso/depayco',
packages=setuptools.find_packages(),
install_requires=['pyepayco==1.0.0'],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
)

0 comments on commit 54d2435

Please sign in to comment.