Skip to content
Snippets Groups Projects
Commit ead57151cf2f authored by jfp's avatar jfp
Browse files

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
...@@ -25,3 +25,5 @@ ...@@ -25,3 +25,5 @@
.vscode/ .vscode/
supervisord.conf$ supervisord.conf$
supervisord.com$ supervisord.com$
^build/
^supervisorvms.egg-info/
$ python -m build -w -n -x -o ./ ./
$
$ exit
[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 = [
]
setup.py 0 → 100644
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
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment