Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pybatsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Service Desk
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
batsim
pybatsim
Commits
d111d998
Commit
d111d998
authored
6 years ago
by
MERCIER Michael
Browse files
Options
Downloads
Patches
Plain Diff
[nix] make a proper shell.nix + put the release process in do_release
parent
8457a96e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
do_release.nix
+17
-0
17 additions, 0 deletions
do_release.nix
shell.nix
+7
-17
7 additions, 17 deletions
shell.nix
with
24 additions
and
17 deletions
do_release.nix
0 → 100644
+
17
−
0
View file @
d111d998
# Use this environment to publish this package on pypi:
#
# # Enter the environment
# nix-shell do_release.nix
#
# # create the package
# python setup.py sdist
#
# # register to pypi (if not registered yet)
# twine register dist/project_name-x.y.z.tar.gz
#
# # upload you package
# twine upload dist/project_name-x.y.z.tar.gz
with
import
<
nixpkgs
>
{};
(
pkgs
.
python36
.
withPackages
(
ps
:
with
ps
;
[
twine
setuptools
]))
.
env
This diff is collapsed.
Click to expand it.
shell.nix
+
7
−
17
View file @
d111d998
# Use this environment to publish this package on pypi:
#
# # Enter the environment
# nix-shell release.nix
#
# # create the package
# python setup.py sdist
#
# # register to pypi (if not registered yet)
# twine register dist/project_name-x.y.z.tar.gz
#
# # upload you package
# twine upload dist/project_name-x.y.z.tar.gz
with
import
<
nixpkgs
>
{};
(
pkgs
.
python36
.
withPackages
(
ps
:
with
ps
;
[
twine
setuptools
]))
.
env
let
kapack
=
import
#~/Projects/kapack
(
fetchTarball
"https://github.com/oar-team/kapack/archive/master.tar.gz"
)
{
};
in
kapack
.
pybatsim_dev
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