Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

swh:1:snp:6e9d4128140ea9fc091a9d1ff362de9d8be50de2
  • Code
  • Branches (5)
  • Releases (0)
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    • refs/tags/1.1.2
    • refs/tags/v1.0.4
    • refs/tags/v1.0.5
    • refs/tags/v1.0.9
    No releases to show
  • 97085ea
  • /
  • setup.py
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
content badge
swh:1:cnt:66612ed45a4ace46b6d9bf31d3deb5f586690279
directory badge
swh:1:dir:97085ea62bad53dfae0f6be50ce48b2d1fe5ce68
revision badge
swh:1:rev:87eacb93177c9d41edb525bb71ae03ae45f18d14
snapshot badge
swh:1:snp:6e9d4128140ea9fc091a9d1ff362de9d8be50de2

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
Tip revision: 87eacb93177c9d41edb525bb71ae03ae45f18d14 authored by Drew Johnson on 20 March 2020, 16:48:33 UTC
added a ps and ps_ member to strataalgebra
Tip revision: 87eacb9
setup.py
# nodoctest

from distutils.core import setup

try:
    from sage.env import SAGE_SRC, SAGE_VERSION
except ImportError:
    import warnings
    warnings.warn("This package only works with SageMath!")

version = "1.1.1"

print("This is version {}".format(version))

with open("description.rst") as f:
    long_description = f.read()
    
setup(
    name='mgn',
    version=version,
    packages=['strataalgebra', 'topintersections'],
    url='https://github.com/uberparagon/mgn',
    license='MIT',
    author='Drew Johnson',
    author_email='werd2.718@gmail.com',
    description='A Sage program for computing products, Faber-Zagier relations, and top intersections on the moduli space of stable curves.',
    long_description = long_description
)

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API