https://github.com/vuillaut/pschitt
Raw File
Tip revision: 5f6bf40db0cb3c8aff723e5cf2124ed8fab48ab6 authored by Vuillaume on 07 March 2018, 10:56:08 UTC
add analysis.py
Tip revision: 5f6bf40
setup.py
#!/usr/bin/env python
# Licensed under a 3-clause BSD style license - see LICENSE.rst
# import sys
import os
from setuptools import setup



def package_files(directory):
    paths = []
    for (path, directories, filenames) in os.walk(directory):
        for filename in filenames:
            paths.append(os.path.join('.', path, filename))
    return paths

dataset = package_files('share')

print("dataset {}".format(dataset))


setup(name='pschitt',
      version=1.0,
      description="DESCRIPTION",
      # these should be minimum list of what is needed to run (note
      # don't need to list the sub-dependencies like numpy, since
      # astropy already depends on it)
      install_requires=[
          # 'astropy',
          # 'numpy',
          # 'scipy>=0.19',
          # 'matplotlib>=2.0',
          # 'numba'
      ],
      packages=['pschitt'],
      tests_require=['pytest'],
      author='Thomas Vuillaume',
      author_email='thomas.vuillaume@lapp.in2p3.fr',
      license='BSD3',
      url='https://github.com/vuillaut/pschitt',
      long_description='',
      classifiers=[
          'Intended Audience :: Science/Research',
          'License :: OSI Approved :: BSD License',
          'Programming Language :: Python :: 3',
          'Topic :: Scientific/Engineering :: Astronomy',
          'Development Status :: 3 - Alpha',
      ],
      data_files=[('pschitt/', dataset)],
      )
back to top