Browse Source

Move version info inside module

tags/v0.4
Jan Petykiewicz 1 year ago
parent
commit
756c015b87
2 changed files with 4 additions and 1 deletions
  1. +2
    -0
      float_raster.py
  2. +2
    -1
      setup.py

+ 2
- 0
float_raster.py 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,


+ 2
- 1
setup.py 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',


Loading…
Cancel
Save