forked from acesseonline/pyreportjasper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·59 lines (54 loc) · 1.94 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
47
48
49
50
51
52
53
54
55
56
57
58
59
# -*- coding: utf-8 -*-
# The MIT License (MIT)
#
# Copyright (c) 2017 Jadson Bonfim Ribeiro <[email protected]>
#
from setuptools import setup, find_packages
import io
import os
import re
from collections import OrderedDict
with io.open('README.rst', 'rt', encoding='utf8') as f:
readme = f.read()
def get_version(package):
init_py = open(os.path.join(package, '__init__.py')).read()
return re.search("__version__ = ['\"]([^'\"]+)['\"]", init_py).group(1)
setup(
name='pyreportjasper',
version=get_version('pyreportjasper'),
url='https://github.com/PyReportJasper/pyreportjasper',
project_urls=OrderedDict((
('Documentation', 'https://github.com/PyReportJasper/pyreportjasper/blob/master/README.rst'),
('Code', 'https://github.com/PyReportJasper/pyreportjasper'),
('Issue tracker', 'https://github.com/PyReportJasper/pyreportjasper/issues'),
)),
license='MIT License',
author='Jadson Bonfim Ribeiro',
author_email='[email protected]',
keywords='report jasper python',
description='This package aims to be a solution to compile and process '
'JasperReports (.jrxml & .jasper files).',
long_description=readme,
zip_safe=False,
platforms='any',
packages=find_packages(),
install_requires=[
],
test_suite='test',
package_data={
'package': ['jasperstarter/*'],
},
include_package_data=True,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)