forked from stoq/stoqdrivers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·31 lines (25 loc) · 1.11 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env python
# Setup file for StoqDrivers
# Code by Async Open Source <http://www.async.com.br>
from kiwi.dist import setup, listpackages, listfiles
from stoqdrivers import __version__
with open('requirements.txt') as f:
install_requires = [l.strip() for l in f.readlines() if
l.strip() and not l.startswith('#')]
setup(
name="stoqdrivers",
version=".".join(map(str, __version__)),
author="Async Open Source",
author_email="stoq-devel@async.com.br",
description="Python fiscal printer (ECF) drivers",
long_description=("This package provices device drivers "
"for fiscal printers, ECF (Emissor de Coupon Fiscal) "
"written in Python. Supports printers from Bematech, "
"Daruma, Dataregis, Perto, Sweda and the generic "
"FiscNET protocol."),
url="http://www.stoq.com.br",
license="GNU LGPL 2.1 (see COPYING)",
packages=listpackages('stoqdrivers'),
data_files=[("$datadir/conf", listfiles("stoqdrivers/conf", "*.ini"))],
install_requires=install_requires,
)