-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (29 loc) · 1.02 KB
/
Copy pathsetup.py
File metadata and controls
33 lines (29 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import os
import distutils.core
DEBUG_COMPILE_ARGS = None
VERSION = "0.0.3"
NAME = "pytrix"
if "DEBUG" in os.environ:
DEBUG_COMPILE_ARGS = ['-O0', '-g', '-g3', '-pedantic', '-Wall', '-Wextra', '-Wmissing-prototypes',
'-Wstrict-prototypes', '-Wold-style-definition']
distutils.core.setup(
name=NAME,
version=VERSION,
description="A class allowing operations to be performed on Matrix, Vector & Point objects.",
author="Warren Spencer",
author_email="warrenspencer27@gmail.com",
url="https://github.com/warrenspe/%s" % NAME,
download_url="https://github.com/warrenspe/%s/tarball/%s" % (NAME, VERSION),
keywords=['vector', 'point', 'matrix'],
classifiers=[],
license="https://www.gnu.org/licenses/gpl-3.0.html",
platforms=["Linux", "Windows"],
ext_modules=[
distutils.core.Extension(
NAME,
sources = ['{0}/{0}.c'.format(NAME)],
include_dirs = [NAME],
extra_compile_args=DEBUG_COMPILE_ARGS
)
]
)