Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
Supervisor Vms
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
OpenVMS
tools
Supervisor Vms
Commits
ead57151cf2f
Commit
ead57151cf2f
authored
1 year ago
by
jfp
Browse files
Options
Downloads
Patches
Plain Diff
Add files to build module supervisorvms, ignore some generated files
parent
5d9aa769c0d9
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.hgignore
+2
-0
2 additions, 0 deletions
.hgignore
build_whl.com
+3
-0
3 additions, 0 deletions
build_whl.com
pyproject.toml
+39
-0
39 additions, 0 deletions
pyproject.toml
setup.py
+35
-0
35 additions, 0 deletions
setup.py
with
79 additions
and
0 deletions
.hgignore
+
2
−
0
View file @
ead57151
...
@@ -25,3 +25,5 @@
...
@@ -25,3 +25,5 @@
.vscode/
.vscode/
supervisord.conf$
supervisord.conf$
supervisord.com$
supervisord.com$
^build/
^supervisorvms.egg-info/
This diff is collapsed.
Click to expand it.
build_whl.com
0 → 100644
+
3
−
0
View file @
ead57151
$ python -m build -w -n -x -o ./ ./
$
$ exit
This diff is collapsed.
Click to expand it.
pyproject.toml
0 → 100644
+
39
−
0
View file @
ead57151
[build-system]
requires
=
[
"setuptools>
=
42
",
"wheel"
]
build-backend
=
"setuptools.build_meta"
[project]
name
=
"supervisorvms"
version
=
"0.1.0"
description
=
"supervisor for VSI Python 3"
readme
=
"README.md"
requires-python
=
">
=
3.10
"
license.file
=
"LICENSE"
authors
=
[
{
name
=
"Jean-François Piéronne"
,
email
=
"jf.pieronne@laposte.net"
}
,
]
classifiers
=
[
"License :: OSI Approved :: GNU LGPL v3 License"
,
"Programming Language :: Python :: 3"
,
"Programming Language :: Python :: 3 :: Only"
,
"Programming Language :: Python :: 3.10"
,
"Programming Language :: Python :: Implementation :: CPython"
,
]
urls.homepage
=
"https://foss.vmsgenerations.org/openvms/tools/supervisor-vms/"
urls.changelog
=
"https://foss.vmsgenerations.org/openvms/tools/supervisor-vms/"
dependencies
=
[
]
[project.optional-dependencies]
docs
=
[
]
test
=
[
]
typing
=
[
]
virtualenv
=
[
]
This diff is collapsed.
Click to expand it.
setup.py
0 → 100644
+
35
−
0
View file @
ead57151
from
setuptools
import
setup
,
find_packages
,
Distribution
class
PureDistribution
(
Distribution
):
def
is_pure
(
self
):
return
True
def
has_ext_modules
(
self
):
return
False
setup
(
# this will be the package name you will see
name
=
'
supervisorvms
'
,
# some version number you may wish to add - increment this after every update
version
=
'
0.1
'
,
package_data
=
{
''
:
[
'
*.exe
'
,
'
*.pyi
'
]},
distclass
=
PureDistribution
,
# Use one of the below approach to define package and/or module names:
# if there are only handful of modules placed in root directory,
# and no packages/directories exist then can use below syntax
# packages=[''],
# have to import modules directly in code after installing this wheel,
# like import mod2 (respective file name in this case is mod2.py) -
# no direct use of distribution name while importing
# can list down each package names - no need to keep __init__.py under packages / directories
# packages=['ovms',], #importing is like: from package1 import mod2,
# or import package1.mod2 as m2
# this approach automatically finds out all directories (packages) -
# those must contain a file named __init__.py (can be empty)
packages
=
find_packages
(),
#include/exclude arguments take * as wildcard, . for any sub-package names
)
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