Skip to content

Commit

Permalink
Add Python build specific files
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Wolf <[email protected]>
  • Loading branch information
NotTheEvilOne committed Mar 4, 2024
1 parent 915e296 commit 7537e2b
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
include pyproject.toml README requirements.txt

recursive-include tests *
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = [ "setuptools", "wheel" ]
build-backend = "setuptools.build_meta"
18 changes: 18 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[metadata]
name = Rookify
description = Enable Ceph-Cluster migrations to Rook
long_description = Rookify is designed to facilitate a smooth and efficient transition for existing Ceph clusters to a Rook-managed Ceph cluster environment.
platforms = any
author = Sovereign Cloud Stack Developers
author_email = [email protected]
license = Apache
url = https://scs.community
classifiers =
Intended Audience :: System Administrators
License :: OSI Approved :: Apache License
Operating System :: OS Independent
Programming Language :: Python
Environment :: Console
Topic :: System :: Clustering
Topic :: System :: Systems Administration
Topic :: Utilities
47 changes: 47 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# -*- coding: utf-8 -*-

"""
Copyright (c) Sovereign Cloud Stack Developers
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""

from os import makedirs, path

try:
from setuptools import find_packages, setup
except ImportError:
from distutils import find_packages, setup
#

def get_version():
"""
Returns the version currently in development.
:return: (str) Version string
:since: v0.0.1
"""

return "v0.0.1"
#

_setup = { "version": get_version()[1:],
"data_files": [ ( "docs", [ "LICENSE", "README.md" ]) ],
"test_suite": "tests"
}

_setup['package_dir'] = { "": "src" }
_setup['packages'] = find_packages("src")

print(_setup)
setup(**_setup)
Empty file added src/rookify/__init__.py
Empty file.
Empty file added tests/__init__.py
Empty file.

0 comments on commit 7537e2b

Please sign in to comment.