Skip to main content

Mussels Build System

Project description

image

A tool to download, build, and assemble application dependencies. Brought to you by the Clam AntiVirus Team.

Copyright (C) 2019 Cisco Systems, Inc. and/or its affiliates. All rights reserved.

About

Mussels is a cross-platform and general-purpose dependency build automation tool.

Mussels helps automate the building of applications and their versioned dependency chains using the original build systems intended by the software authors.

For a more in depth explanation, see the Mussels Introduction.

Requirements

  • Python 3.6 or newer.
  • Git (must be added to your PATH environment variable).

An internet connection is required to use the public Mussels cookbooks. Some form of internet or intranet is required to download source archives from the URLs defined in each recipe.

Every recipe will require tools in order to run. If you don't have the required tools, you'll get an error message stating that you're missing a required tool. It will be up to you to install the tool in order for that recipe to build.

Common Tools Requirements

Linux:

  • gcc
  • Make
  • CMake
  • patchelf

MacOS (Darwin):

  • Clang (comes with XCode)
  • Make
  • CMake

Windows:

  • Visual Studio 2017+
  • CMake

Installation

You may install Mussels from PyPI using pip, or you may clone the Mussels Git repository and use pip to install it locally.

Install Mussels from PyPI:

python3 -m pip install --user mussels

Usage

Use the --help option to get information about any Mussels command.

mussels

mussels --help

mussels build --help

Tip: Use the msl shortcut, instead of mussels to save keystrokes.

Tip: You may not be able to run mussels or the msl shortcut directly if your Python Scripts directory is not in your PATH environment variable. If you run into this issue, and do not wish to add the Python Scripts directory to your path, you can run Mussels like this:

python -m mussels

Learn more about how use Mussels in our documentation.

Contribute

Mussels is open source and we'd love your help. There are many ways to contribute!

Contribute Recipes

You can contribute to the Mussels community by creating new recipes or improving on existing recipes in the "scrapbook". Do this by submitting a pull request to that Git repository.

If your project is willing to make your project-specific recipes available to the public, we'd also be happy to add your cookbook repository to the Mussels bookshelf. Do this submitting a pull request to this Git repository. As noted above, each cookbook's license must be compatible with the Apache v2.0 license used by Mussels in order to be included in the bookshelf.

To learn more about how to read & write Mussels recipe and tool definitions, check out the following:

Report issues

If you find an issue with Mussels or the Mussels documentation, please submit an issue to our GitHub issue tracker. Before you submit, please check to if someone else has already reported the issue.

Mussels Development

If you find a bug and you're able to craft a fix yourself, consider submitting the fix in a pull request. Your help will be greatly appreciated.

If you want to contribute to the project and don't have anything specific in mind, please check out our issue tracker. Perhaps you'll be able to fix a bug or add a cool new feature.

By submitting a contribution to the Mussels project, you acknowledge and agree to assign Cisco Systems, Inc the copyright for the contribution. If you submit a significant contribution such as a new feature or capability or a large amount of code, you may be asked to sign a contributors license agreement comfirming that Cisco will have copyright license and patent license and that you are authorized to contribute the code.

Mussels Development Set-up

The following steps are intended to help users that wish to contribute to development of the Mussels project get started.

  1. Create a fork of the Mussels git repository, and then clone your fork to a local directory.

    For example:

    git clone https://github.com/<your username>/Mussels.git

  2. Make user Mussels is not already installed. If it is, remove it.

    python3 -m pip uninstall mussels

  3. Use pip to install Mussels in "edit" mode.

    python3 -m pip install -e --user ./Mussels

Once installed in "edit" mode, any changes you make to your clone of the Mussels code will be immediately usable simply by running the mussels / msl commands.

Conduct

This project has not selected a specific Code-of-Conduct document at this time. However, contributors are expected to behave in professional and respectful manner. Disrespectful or inappropriate behavior will not be tolerated.

License

Mussels is licensed under the Apache License, Version 2.0 (the "License"). You may not use the Mussels project except in compliance with the License.

A copy of the license is located here, and is also available online at apache.org.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mussels-0.1.0.tar.gz (28.2 kB view hashes)

Uploaded Source

Built Distribution

mussels-0.1.0-py3-none-any.whl (34.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page