Confluence will be unusable 23-July-2024 at 06:00 due to a Crowd upgrade.
As described in Package Manager, the package manager expects three files for each package:
PACKAGE/VERSION: DEPENDENCY1/DEP1_VERSION, DEPENDENCY2/DEP2_VERSION, ...
from python_package import python_package class PACKAGE_package(python_package): def init(self): super(psp_package, self).init()
This archive should unpack into a directory with the general structure:
The setup.py file should look like:
from distutils.core import setup setup(name='PACKAGE', version='VERSION', packages=['PACKAGE'], description='Description of the Package', author='Author Name', author_email='author@slac.stanford.edu')
The python setuptools also support dependencies, etc. but this is the bare minimum needed.
Once this is done, a source tarball can be created by running:
% python setup.py sdist
This will create dist/PACKAGE-VERSION.tar.gz.