Skip to content

Commit

Permalink
Add setup.py (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
DevineLiu authored and toaco committed Feb 22, 2019
1 parent 8eb38c2 commit 9caf062
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Expand Up @@ -7,6 +7,14 @@

A python library for making table report. Now supports exporting to Excel.


## Install

```python
pip install git+https://github.com/DevineLiu/tablereport.git@master
```


## Example

### Basic
Expand Down Expand Up @@ -273,4 +281,4 @@ table.summary(label_span=2, label='Total',
value_style=bottom_total_style)

write_to_excel('complex.xlsx', table)
```
```
18 changes: 18 additions & 0 deletions setup.py
@@ -0,0 +1,18 @@
#!/usr/bin/env python
# coding: utf-8
#
# Licensed under MIT
#

import setuptools
setuptools.setup(
name = "tablereport",
version = "0.1",
packages = ['tablereport','tablereport/writer'],
install_requires = [
'openpyxl',
'pytest-cov',
'six',
'pytest',
]
)

0 comments on commit 9caf062

Please sign in to comment.