Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pip-deps
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
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
SCS
pip-deps
Commits
6e5209c8
Commit
6e5209c8
authored
6 years ago
by
Marek Chrastina
Browse files
Options
Downloads
Patches
Plain Diff
Add build ci
parent
2aff4093
No related branches found
No related tags found
No related merge requests found
Pipeline
#7899
passed with warnings
6 years ago
Stage: test
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+18
-2
18 additions, 2 deletions
.gitlab-ci.yml
setup.py
+7
-8
7 additions, 8 deletions
setup.py
with
25 additions
and
10 deletions
.gitlab-ci.yml
+
18
−
2
View file @
6e5209c8
stages
:
-
test
-
build
mdcheck
:
stage
:
test
...
...
@@ -8,11 +9,26 @@ mdcheck:
-
mdl *.md
pylint
:
allow_failure
:
true
stage
:
test
image
:
it4innovations/docker-pycheck:latest
script
:
-
export PYTHONIOENCODING=UTF-8
-
export LC_CTYPE=en_US.UTF-8
-
if [ -f pip
-
upgradedependencies.egg-info/requires.txt ]; then pip install $(paste -d " " -s pip
-
upgradedependencies.egg-info/requires.txt); fi
-
pip install
better-
setuptools-git-version
-
if [ -f pipupgradedependencies.egg-info/requires.txt ]; then pip install $(paste -d " " -s pipupgradedependencies.egg-info/requires.txt); fi
-
pip install setuptools-git-version
setuptools-markdown
-
pylint $(find . -type f -name "*.py")
build
:
stage
:
build
image
:
it4innovations/docker-pypi:latest
artifacts
:
expire_in
:
1 day
paths
:
-
dist/pipupgradedependencies*tar.gz
script
:
-
export PYTHONIOENCODING=UTF-8
-
export LC_CTYPE=en_US.UTF-8
-
pip install setuptools-git-version setuptools-markdown
#- python setup.py --version
-
python setup.py sdist
This diff is collapsed.
Click to expand it.
setup.py
+
7
−
8
View file @
6e5209c8
...
...
@@ -3,7 +3,8 @@ from setuptools import setup, find_packages
setup
(
name
=
'
pipupgradedependencies
'
,
description
=
'
Pipupgradedependencies upgrades all outdated packages with respect to existing dependencies.
'
,
description
=
'
Pipupgradedependencies upgrades all outdated packages with respect to existing
\
dependencies.
'
,
classifiers
=
[
'
Operating System :: POSIX :: Linux
'
,
'
Programming Language :: Python
'
,
...
...
@@ -19,15 +20,13 @@ setup(
packages
=
find_packages
(),
namespace_packages
=
[
'
pipupgradedependencies
'
],
zip_safe
=
False
,
version_config
=
{
"
version_format
"
:
"
{tag}
"
,
"
starting_version
"
:
"
0.0.1
"
},
long_description_markdown_filename
=
'
README.md
'
,
setup_requires
=
[
'
better-setuptools-git-version
'
,
'
setuptools-markdown
'
],
version
=
'
0.0.1
'
,
#version_format='{tag}',
#long_description_markdown_filename='README.md',
#setup_requires=['setuptools-markdown', 'setuptools-markdown'],
entry_points
=
{
'
console_scripts
'
:
[
'
pipupgradedependencies = pipupgradedependencies.pipupgradedependencies:main
'
,
]
}
,
}
)
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