Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
python-pydotplus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenStack
python
python-pydotplus
Commits
6173f2a9
Commit
6173f2a9
authored
10 years ago
by
Carlos Miguel Jenkins Perez
Browse files
Options
Downloads
Patches
Plain Diff
fix: dev: Fixing bad dependencies in PyPI.
parent
bab53adf
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.travis.yml
+1
-1
1 addition, 1 deletion
.travis.yml
lib/pydotplus/version.py
+1
-1
1 addition, 1 deletion
lib/pydotplus/version.py
setup.py
+14
-0
14 additions, 0 deletions
setup.py
tox.ini
+0
-1
0 additions, 1 deletion
tox.ini
with
16 additions
and
3 deletions
.travis.yml
+
1
−
1
View file @
6173f2a9
language
:
python
install
:
-
sudo apt-get install graphviz
-
pip install
tox coveralls
-
pip install
-r requirements.dev.txt
script
:
-
tox
after_success
:
...
...
This diff is collapsed.
Click to expand it.
lib/pydotplus/version.py
+
1
−
1
View file @
6173f2a9
...
...
@@ -30,6 +30,6 @@ PyDotPlus version module.
from
__future__
import
unicode_literals
from
__future__
import
print_function
__version__
=
'
2.0.
0-dev
'
__version__
=
'
2.0.
1
'
__all__
=
[
'
__version__
'
]
This diff is collapsed.
Click to expand it.
setup.py
+
14
−
0
View file @
6173f2a9
...
...
@@ -41,12 +41,26 @@ def find_version(filename):
raise
RuntimeError
(
'
Unable to find version string.
'
)
def
find_requirements
(
requirements
):
import
string
with
open
(
requirements
,
'
r
'
)
as
fd
:
reqs
=
[]
for
line
in
fd
:
line
=
line
.
strip
()
if
line
and
not
line
[:
1
]
in
string
.
ascii_letters
:
reqs
.
append
(
line
)
return
reqs
setup
(
name
=
'
pydotplus
'
,
version
=
find_version
(
'
lib/pydotplus/version.py
'
),
package_dir
=
{
''
:
'
lib
'
},
packages
=
find_packages
(
'
lib
'
),
# Dependencies
install_requires
=
find_requirements
(
'
requirements.txt
'
),
# Metadata
author
=
'
PyDotPlus Developers
'
,
author_email
=
'
carlos@jenkins.co.cr
'
,
...
...
This diff is collapsed.
Click to expand it.
tox.ini
+
0
−
1
View file @
6173f2a9
...
...
@@ -16,7 +16,6 @@ commands=
deps
=
-rrequirements.txt
pytest-cov
coveralls
setenv
=
PYTHONPATH
=
lib/
commands
=
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment