-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
46 lines (39 loc) · 1.55 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/usr/bin/env python3
# This file is part of tally-pipes.
# Copyright (C) 2014-2016 Sequent Tech Inc <legal@sequentech.io>
# tally-pipes is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License.
# tally-pipes is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
# You should have received a copy of the GNU Affero General Public License
# along with tally-pipes. If not, see <http://www.gnu.org/licenses/>.
from setuptools import setup
from setuptools.command.sdist import sdist
class SdistI18n(sdist):
def run(self):
self.run_command('compile_catalog')
sdist.run(self)
setup(
name='tally-pipes',
version='master',
author='Sequent Tech Inc',
author_email='contact@sequentech.io',
packages=['tally_pipes', 'tally_pipes.pipes'],
scripts=['tally-pipes'],
url='https://github.com/sequentech/tally-pipes',
license='AGPL-3.0',
description='sequent results processing system',
long_description=open('README.md').read(),
setup_requires=['Babel'],
cmdclass={'sdist': SdistI18n},
install_requires=[
'reportlab==3.6.13',
'requests==2.31.0',
'Babel==2.9.1',
'pytz==2021.3',
'tally-methods @ git+https://github.com/sequentech/tally-methods.git@master'
]
)