Move version info inside module

This commit is contained in:
Jan Petykiewicz 2018-09-16 20:05:13 -07:00
parent 3ca8afb3ef
commit 756c015b87
2 changed files with 4 additions and 1 deletions

View File

@ -12,6 +12,8 @@ from scipy import sparse
__author__ = 'Jan Petykiewicz'
version = '0.4'
def raster(vertices: numpy.ndarray,
grid_x: numpy.ndarray,

View File

@ -1,9 +1,10 @@
#!/usr/bin/env python3
from setuptools import setup
import float_raster
setup(name='float_raster',
version='0.4',
version=float_raster.version,
description='High-precision anti-aliasing polygon rasterizer',
author='Jan Petykiewicz',
author_email='anewusername@gmail.com',