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

Revision dfff7aed860791fddd21e756052095c26b84db99 authored by Your Name on 16 December 2016, 17:49:25 UTC, committed by Your Name on 16 December 2016, 17:49:25 UTC
modify setup.py
1 parent dcf0cfa
  • Files
  • Changes
  • 5b1a61b
  • /
  • setup.py
Raw File Download
Permalinks

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.

  • revision
  • directory
  • content
revision badge
swh:1:rev:dfff7aed860791fddd21e756052095c26b84db99
directory badge Iframe embedding
swh:1:dir:5b1a61b64d5f312d81d3c7b04666001e35de487c
content badge Iframe embedding
swh:1:cnt:0a558641adc8ff5bea92465fa578bea10e11ad1f
Citations

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.

  • revision
  • directory
  • content
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
setup.py
from setuptools import setup
try:
    from pypandoc import convert
    read_md = lambda f: convert(f, 'rst')
except ImportError:
    print("warning: pypandoc module not found, could not convert Markdown to RST")
    read_md = lambda f: open(f, 'r').read()

#setup(
#    # name, version, ...
#    name=
#    long_description=read_md('README.md'),
#    install_requires=[]
#)


#import os
#long_description = 'A pythonic non-uniform FFT'
#if os.path.exists('README.txt'):
#    long_description = open('README.txt').read()

from setuptools import setup

setup(name='pynufft',
      version='0.3',
      description='A pythonic non-uniform FFT (pynufft)',
      author='Jyh-Miin Lin',
      long_description=read_md('README.md'),
      author_email='jyhmiinlin@gmail.com',
      url = 'https://github.com/jyhmiinlin/pynufft', # use the URL to the github repo
      install_requires = ['numpy', 'scipy', 'matplotlib'],
      license='MIT',
      packages=['pynufft'],
      package_dir={'pynufft':'pynufft'},
      package_data={'pynufft':['data/*.txt']},
      include_package_data=True,
      zip_safe=False)
	
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

back to top

Software Heritage — Copyright (C) 2015–2025, 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— Contact— JavaScript license information— Web API