-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
53 lines (42 loc) · 1.3 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
#!/usr/bin/env python
# Copyright 2015 Initios Desarrollos
#
# All rights reserved
import os
import setuptools
base_dir = os.path.dirname(__file__)
about = {}
with open(os.path.join(base_dir, 'junit_conversor', '__about__.py')) as f:
exec(f.read(), about)
with open(os.path.join(base_dir, 'README.rst')) as readme:
long_description = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setuptools.setup(
name=about['__title__'],
version=about['__version__'],
description=about['__summary__'],
long_description=long_description,
license=about['__license__'],
url=about['__uri__'],
author=about['__author__'],
author_email=about['__email__'],
classifiers=[
'Framework :: Flake8',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: BSD License',
],
packages=[
'junit_conversor',
],
include_package_data=True,
entry_points={
'console_scripts': [
'flake8_junit = junit_conversor.__main__:main',
],
}
)