Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nrm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
16
Issues
16
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
argo
nrm
Commits
3d017455
Commit
3d017455
authored
Jun 19, 2019
by
Valentin Reis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[packaging] updates setup.py to include the ./doc folder.
parent
58958c5d
Pipeline
#7785
passed with stages
in 4 minutes and 23 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
.gitignore
.gitignore
+3
-0
default.nix
default.nix
+1
-0
setup.py
setup.py
+10
-0
No files found.
.gitignore
View file @
3d017455
...
...
@@ -55,3 +55,6 @@ _output
# documentation
docs/_build
docs/manifest.rst
dist/
doc/
default.nix
View file @
3d017455
...
...
@@ -3,6 +3,7 @@
}:
rec
{
nrm
=
pkgs
.
nrm
;
nrm-dist
=
pkgs
.
nrm-dist
;
hack
=
nrm
.
overrideAttrs
(
old
:{
buildInputs
=
old
.
buildInputs
++
[
pkgs
.
pythonPackages
.
flake8
...
...
setup.py
View file @
3d017455
...
...
@@ -2,6 +2,15 @@
"""
from
setuptools
import
setup
,
find_packages
import
os
def
get_data_files
(
docs_root
):
data_files
=
[]
for
dirname
,
dirs
,
files
in
os
.
walk
(
docs_root
):
for
f
in
files
:
data_files
.
append
(
os
.
path
.
join
(
dirname
,
f
))
return
data_files
setup
(
name
=
'nrm'
,
...
...
@@ -22,5 +31,6 @@ setup(
packages
=
find_packages
(),
install_requires
=
[],
package_data
=
{
'nrm'
:
[
'schemas/*.json'
,
'schemas/*.yml'
]},
data_files
=
get_data_files
(
"./doc"
),
scripts
=
[
'bin/nrmd'
,
'bin/app'
,
'bin/nrm'
,
'bin/nrm-perfwrapper'
]
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment