Skip to content

Commit

Permalink
Prepare setup for an initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
person142 committed Jul 7, 2019
1 parent 13044f2 commit 230036f
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
**.c
**.so
build
dist
numba_special.egg-info
doc/build
**/__pycache__
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include README.md
include LICENSE
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ git+https://github.com/numba/numba.git/@master
pytest
sphinx
sphinx_rtd_theme
twine
19 changes: 16 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os
from distutils.core import setup, Extension
from setuptools import setup, Extension
from Cython.Build import cythonize

EXT_MODULES = [
Expand All @@ -9,14 +9,27 @@
)
]


def get_long_description():
readme = os.path.join(
os.path.abspath(os.path.dirname(__file__)),
'README.md'
)
with open(readme, encoding='utf-8') as f:
long_description = f.read()
return long_description


setup(
name='numba_special',
description="Numba overloads for SciPy's special functions",
version='0.1',
long_description=get_long_description(),
long_description_content_type='text/markdown',
version='0.1.0rc1',
author='Josh Wilson',
url='https://github.com/person142/numba_special',
packages=['numba_special'],
package_data={'numba_special': ['signatures.json']},
ext_modules = cythonize(EXT_MODULES),
ext_modules=cythonize(EXT_MODULES),
install_requires=['numba', 'scipy']
)

0 comments on commit 230036f

Please sign in to comment.