https://github.com/vuillaut/pschitt
Raw File
Tip revision: b1a913c84141a4b6fef7077aa1066000e33439c4 authored by Thomas Vuillaume on 08 August 2019, 12:53:40 UTC
Merge pull request #20 from vuillaut/fix_plot_array
Tip revision: b1a913c
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, find_packages



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=[
          'numpy',
          'scipy',
          'matplotlib>=2.0',
          'numba'
      ],
      packages=find_packages(),
      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