Move version info inside module
This commit is contained in:
parent
3ca8afb3ef
commit
756c015b87
@ -12,6 +12,8 @@ from scipy import sparse
|
|||||||
|
|
||||||
__author__ = 'Jan Petykiewicz'
|
__author__ = 'Jan Petykiewicz'
|
||||||
|
|
||||||
|
version = '0.4'
|
||||||
|
|
||||||
|
|
||||||
def raster(vertices: numpy.ndarray,
|
def raster(vertices: numpy.ndarray,
|
||||||
grid_x: numpy.ndarray,
|
grid_x: numpy.ndarray,
|
||||||
|
3
setup.py
3
setup.py
@ -1,9 +1,10 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
import float_raster
|
||||||
|
|
||||||
setup(name='float_raster',
|
setup(name='float_raster',
|
||||||
version='0.4',
|
version=float_raster.version,
|
||||||
description='High-precision anti-aliasing polygon rasterizer',
|
description='High-precision anti-aliasing polygon rasterizer',
|
||||||
author='Jan Petykiewicz',
|
author='Jan Petykiewicz',
|
||||||
author_email='anewusername@gmail.com',
|
author_email='anewusername@gmail.com',
|
||||||
|
Loading…
Reference in New Issue
Block a user