Skip to content

Commit

Permalink
convert to setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
esheldon committed Apr 30, 2020
1 parent 531b44e commit a2d7d80
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from setuptools import setup, find_packages, Extension
import os
import glob
from distutils.core import setup, Extension
import numpy

try:
Expand All @@ -11,27 +10,28 @@
from distutils.command.build_py import build_py


scripts=[
scripts = [
'meds-extract-range',
'meds-extract-catalog',
'meds-view',
'meds-compare',
]
scripts=[os.path.join('./scripts', s) for s in scripts]
scripts = [os.path.join('./scripts', s) for s in scripts]

sources=["meds/_uberseg.c"]
include_dirs=[numpy.get_include()]
ext=Extension("meds._uberseg", sources, include_dirs=include_dirs)

setup(name="meds",
version="0.9.8",
description="Python and C libraries for reading MEDS files",
license = "GNU GPLv3",
author="Erin Scott Sheldon",
author_email="erin.sheldon@gmail.com",
packages=['meds'],
ext_modules=[ext],
include_dirs=include_dirs,
scripts=scripts,
cmdclass={'build_py': build_py})
sources = ["meds/_uberseg.c"]
include_dirs = [numpy.get_include()]
ext = Extension("meds._uberseg", sources, include_dirs=include_dirs)

setup(
name="meds",
version="0.9.8",
description="Python and C libraries for reading MEDS files",
license="GNU GPLv3",
author="Erin Scott Sheldon",
author_email="erin.sheldon@gmail.com",
packages=find_packages(),
ext_modules=[ext],
include_dirs=include_dirs,
scripts=scripts,
cmdclass={'build_py': build_py},
)

0 comments on commit a2d7d80

Please sign in to comment.