Permalink
Switch branches/tags
version-1.12.0.1 version-1.12 version-1.11 version-1.10.0.1 version-1.10 version-1.9.2 version-1.9.1 version-1.9.0.1 version-1.9 version-1.8.2.1 version-1.8.2 version-1.8.1 version-1.8.0.1 version-1.8 version-1.7.0.1 version-1.7 version-1.6.1.1 version-1.6.1 version-1.6.0.1 version-1.6 version-1.5.0.1 version-1.4.1 version-1.4.0.1 version-1.4 version-1.3.9 version-1.3.1.1 version-1.3.1 version-1.3.0.1 version-1.2.99 version-1.2.1 version-1.1.99 version-1.1.1 version-1.1 version-1.0 version-0.9.97 version-0.9.95 version-0.9.94 version-0.9.93 version-0.9.92 version-0.9.91 version-0.9.9 sourceforge release-1.10-stable-20170616 release-1.7-stable-2014-12-15 release-1.6 release-1.6-stable-20130514 mike-checkpoint1 github-start bart-2-base Macaulay2-0-9 Macaulay2-0-9-96@5643 Macaulay2-0-9-96 Macaulay2-0-9-2 Macaulay2-0-9-2a Macaulay2-0-9-2-merge-point Macaulay2-0-9-2-fixes Macaulay2-0-9-2-changes-merge-point Macaulay2-0-9-2-changes-b Macaulay2-0-9-2-changes-0-9-4x Macaulay2-0-9-2-beta Macaulay2-0-9-1 Macaulay2-0-8-99 Macaulay2-0-8-60 Macaulay2-0-8-58 Macaulay2-0-8-58-working Macaulay2-0-8-58-not-working Macaulay2-0-8-57 Macaulay2-0-8-56 Macaulay2-0-8-55 Macaulay2-0-8-54 Macaulay2-0-8-53 Macaulay2-0-8-52 Macaulay2-0-8-51 Macaulay2-0-8-50 Macaulay2-0-8-49 Macaulay2-0-8-48 Macaulay2-0-8-47 Macaulay2-0-8-46 Macaulay2-0-8-45 Macaulay2-0-8-44 Macaulay2-0-8-43 Macaulay2-0-8-42 Macaulay2-0-8-41 Macaulay2-0-8-40 Macaulay2-0-8-36 Macaulay2-0-8-35@25 Macaulay2-0-8-35 Macaulay2-0-8-34@25 Macaulay2-0-8-34 Macaulay2-0-8-33@29 Macaulay2-0-8-33 Macaulay2-0-8-32@22 Macaulay2-0-8-32 Macaulay2-0-8-31@17 Macaulay2-0-8-31 Macaulay2-0-8-30@17 Macaulay2-0-8-30 Macaulay2-0-8-28@10 Macaulay2-0-8-28 Macaulay2-0-8-26@4
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
74 lines (53 sloc) 2.98 KB
To add your package to Macaulay2:
First test that your package works by running "installPackage" and "check" on
it. View the documentation with "viewHelp" to make sure it looks sensible,
paging through each node by pressing the "next" button repeatedly.
Then create an account on github.com and fork our repository
https://github.com/Macaulay2/M2, clone your copy of M2, and add your package
file to this "packages" directory, along with its directory of auxiliary files,
if any. Also add a line to the end of the file =distributed-packages
containing the name of your package. Add those changes, commit them, and push
them to your repository. Then on the github page for your copy of M2, push the
button called "Pull request". That will notify us that you'd like your
addition to become part of Macaulay2/M2.
More advanced users will want to add their new package to a new branch of the
repository.
For a better test that your package works with the latest version of Macaulay2,
build Macaulay2 from the source code in the repository, and test it with the
resulting "M2".
For changes to an existing package, always base your changes on the current
version of your package in the repository.
=============================================================================
Advice to authors of Macaulay2 packages about licensing:
Macaulay2 is an aggregate, with the packages in this "packages" directory being
separate components, each with its own set of authors, copyright, and license.
Since your package will be distributed as part of Macaulay2, your software
should be licensed in a way that allows us to do that.
Macaulay2 is currently licensed under GNU General Public License (GPL) version
2 and also under version 3. Either of those licenses also allow those who
receive Macaulay2 to modify it and to redistribute it, so your software should
also be licensed in a way that allows them to do that.
One possibility is for your software to be put into the public domain. In that
case, you may adapt a brief license statement from the following model, and
insert it as a comment such as this in your file(s).
-*
Written by Joe Smith, 2011.
This file is in the public domain.
*-
Alternatively, you may consider licensing your software under the GPL.
Information about the GPL can be obtained here:
http://www.gnu.org/licenses/gpl.html
Instructions for how to formulate your copyright notice and how to license your
software under GPL can be obtained here:
http://www.gnu.org/licenses/gpl-howto.html
Alternatively, you may adapt a brief license statement from the following
model.
-*
Copyright 2009, 2010 Joe Smith and Jane Doe.
You may redistribute this file under the terms of the GNU General Public
License as published by the Free Software Foundation, either version 2 of
the License, or any later version.
*-
As Macaulay2 is an aggregate, and the packages will not be linked with code
licensed under GPL version 3, a package licensed just under version 2 would
also be acceptable.