Skip to content

Commit

Permalink
Removed shebang from XenAPI.py and XenAPIPlugin.py as they are librar…
Browse files Browse the repository at this point in the history
…y code.

- Removed shebang from XenAPI.py and XenAPIPlugin.py
- Modified setup.cfg of python_requires version
- Removed unused `dune clean` command from python Makefile

Co-authored-by: Pau Ruiz Safont <psafont@users.noreply.github.com>
Signed-off-by: Stephen Cheng <stephen.cheng@cloud.com>
  • Loading branch information
stephenchengCloud and psafont committed Aug 3, 2024
1 parent fcd2edf commit 2e883b7
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion python3/examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ build:
SETUPTOOLS_SCM_PRETEND_VERSION=$(XAPI_VERSION) python -m build --sdist .

clean:
dune clean
rm -rf dist/ build/ XenAPI.egg-info/
1 change: 0 additions & 1 deletion python3/examples/XenAPI/XenAPI.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/python3
# Copyright (c) Citrix Systems, Inc.
# All rights reserved.
#
Expand Down
1 change: 0 additions & 1 deletion python3/examples/XenAPIPlugin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
"""XenAPI python plugin boilerplate code"""
# pylint: disable=invalid-name
# Module name "XenAPIPlugin" doesn't conform to snake_case naming style
Expand Down
2 changes: 1 addition & 1 deletion python3/examples/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ classifiers =

[options]
packages = find:
python_requires = >=3.6.*, <4
python_requires = >=3.6, <4

0 comments on commit 2e883b7

Please sign in to comment.