FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-progressbar/setup.py at develop · samc0de/python-progressbar · GitHub
samc0de
/
python-progressbar
Public
forked from
wolph/python-progressbar
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
python-progressbar
/
setup.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
95 lines (80 loc) · 2.62 KB
Breadcrumbs
python-progressbar
/
setup.py
Copy path
File metadata and controls
95 lines (80 loc) · 2.62 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import
os
import
sys
try
:
from
setuptools
import
setup
,
find_packages
except
ImportError
:
from
distutils
.
core
import
setup
,
find_packages
# Not all systems use utf8 encoding by default, this works around that issue
if
sys
.
version_info
>
(
3
,):
from
functools
import
partial
open
=
partial
(
open
,
encoding
=
'utf8'
)
# To prevent importing about and thereby breaking the coverage info we use this
# exec hack
about
=
{}
with
open
(
"progressbar/__about__.py"
)
as
fp
:
exec
(
fp
.
read
(),
about
)
install_reqs
=
[]
tests_reqs
=
[]
if
sys
.
version_info
<
(
2
,
7
):
tests_reqs
+=
[
'unittest2'
]
if
sys
.
argv
[
-
1
]
==
'info'
:
for
k
,
v
in
about
.
items
():
print
(
'%s: %s'
%
(
k
,
v
))
sys
.
exit
()
if
os
.
path
.
isfile
(
'README.rst'
):
with
open
(
'README.rst'
)
as
fh
:
readme
=
fh
.
read
()
else
:
readme
=
\
'See http://pypi.python.org/pypi/%(__package_name__)s/'
%
about
if
__name__
==
'__main__'
:
setup
(
name
=
about
[
'__package_name__'
],
version
=
about
[
'__version__'
],
author
=
about
[
'__author__'
],
author_email
=
about
[
'__email__'
],
description
=
about
[
'__description__'
],
url
=
about
[
'__url__'
],
license
=
about
[
'__license__'
],
keywords
=
about
[
'__title__'
],
packages
=
find_packages
(
exclude
=
[
'docs'
]),
long_description
=
readme
,
include_package_data
=
True
,
install_requires
=
[
'python-utils>=2.3.0'
,
'six'
,
],
tests_require
=
tests_reqs
,
setup_requires
=
[
'setuptools'
,
'pytest-runner>=2.8'
],
zip_safe
=
False
,
extras_require
=
{
'docs'
: [
'sphinx<1.7.0'
,
],
'tests'
: [
'flake8>=3.5.0'
,
'pytest>=3.4.0'
,
'pytest-cache>=1.0'
,
'pytest-cov>=2.5.1'
,
'pytest-flakes>=2.0.0'
,
'pytest-pep8>=1.0.6'
,
'freezegun>=0.3.10'
,
'sphinx>=1.7.1'
,
],
},
classifiers
=
[
'Development Status :: 5 - Production/Stable'
,
'Intended Audience :: Developers'
,
'License :: OSI Approved :: BSD License'
,
'Natural Language :: English'
,
"Programming Language :: Python :: 2"
,
'Programming Language :: Python :: 2.7'
,
'Programming Language :: Python :: 3'
,
'Programming Language :: Python :: 3.3'
,
'Programming Language :: Python :: 3.4'
,
'Programming Language :: Python :: 3.5'
,
'Programming Language :: Python :: Implementation :: PyPy'
,
],
)
Back
|
FazBrowse Home
|
New Git URL