Giter VIP home page Giter VIP logo

ptsa's People

Contributors

ctw avatar maciekswat avatar psederberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ptsa's Issues

Setup file for install on Mac OSX

I had to add a couple of lines to get the install.py script to work. I needed to
import numpy

and

include_dirs = [numpy.get_include()]

See below for the full file:

from distutils.core import setup, Extension
from distutils.sysconfig import get_config_var
from distutils.extension import Extension

import os
import sys
import numpy

get the version loaded as vstr

execfile('ptsa/versionString.py')

set up extensions

ext_modules = []
edf_ext = Extension("ptsa.data.edf.edf",
include_dirs = [numpy.get_include()],
sources = ["ptsa/data/edf/edf.c",
"ptsa/data/edf/edfwrap.c",
"ptsa/data/edf/edflib.c"],
define_macros = [('_LARGEFILE64_SOURCE', None),
('_LARGEFILE_SOURCE', None)],)
ext_modules.append(edf_ext)

define the setup

setup(name='ptsa',
version=vstr,
maintainer=['Per B. Sederberg'],
maintainer_email=['[email protected]'],
url=['http://ptsa.sourceforge.net'],
packages=['ptsa','ptsa.tests','ptsa.data','ptsa.data.tests',
'ptsa.data.edf','ptsa.plotting','ptsa.plotting.tests',
'dimarray','dimarray.tests'],
ext_modules = ext_modules
)

`pip install ptsa` ?

Thanks for making all these useful algorithms available!

I see that you recommend installation through conda. Is there any reason that you don't want to upload at least the source code to pypi, so that we can do pip install ptsa?

Thanks again!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.