Skip to content

Commit

Permalink
Fix long description and bump to v1.1.1 (venmo#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
apizarro-paypal authored Mar 18, 2022
1 parent fb42620 commit b5c1a3c
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 26 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.py[cod]
.DS_Store

# C extensions
*.so
Expand Down
26 changes: 26 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
History
=========

## 1.1.1

Release date: 2022-3-18

- Fix package description and long description

## 1.1.0

Release date: 2022-3-18

- Add support for Python 3.5-3.7

## 1.0.1

Release date: 2016-3-16

- Fixes a packaging bug preventing 1.0.0 from being installed on some platforms.

## 1.0.0

Release date: 2016-3-16

- Removes caching layer on rule decorator
14 changes: 0 additions & 14 deletions HISTORY.rst

This file was deleted.

6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
business-rules
==============

[![Build Status](https://travis-ci.org/venmo/business-rules.svg?branch=master)](https://travis-ci.org/venmo/business-rules)

As a software system grows in complexity and usage, it can become burdensome if
every change to the logic/behavior of the system also requires you to write and
deploy new code. The goal of this business rules engine is to provide a simple
Expand All @@ -14,10 +12,6 @@ marketing logic around when certain customers or items are eligible for a
discount or to automate emails after users enter a certain state or go through
a particular sequence of events.

<p align="center">
<img src="http://cdn.memegenerator.net/instances/400x/36514579.jpg" />
</p>

## Usage

### 1. Define Your set of variables
Expand Down
2 changes: 1 addition & 1 deletion business_rules/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '1.1.0'
__version__ = '1.1.1'

from .engine import run_all
from .utils import export_rule_data
Expand Down
12 changes: 7 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
#! /usr/bin/env python

from setuptools import setup

from business_rules import __version__ as version

with open('HISTORY.rst') as f:
history = f.read()
with open('README.md') as f:
readme = f.read()

description = 'Python DSL for setting up business intelligence rules that can be configured without code'
with open('HISTORY.md') as f:
history = f.read()

setup(
name='business-rules',
version=version,
description='{0}\n\n{1}'.format(description, history),
description='Python DSL for setting up business intelligence rules that can be configured without code',
long_description='{}\n\n{}'.format(readme, history),
long_description_content_type='text/markdown',
author='Venmo',
author_email='[email protected]',
url='https://github.com/venmo/business-rules',
Expand Down

0 comments on commit b5c1a3c

Please sign in to comment.