Skip to content

Commit

Permalink
Specify UTF-8 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
moble committed Aug 30, 2021
1 parent 49dab93 commit 245e79d
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 12 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 Michael Boyle
Copyright (c) 2021 Michael Boyle

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""\
This package creates a quaternion type in python, and further enables numpy to
Expand All @@ -16,7 +17,7 @@


# Set this first for easier replacement
version = "2021.8.27.16.41.17"
version = "2021.8.30.10.8.27"

if "win" in platform.lower() and not "darwin" in platform.lower():
extra_compile_args = ["/O2"]
Expand Down
2 changes: 1 addition & 1 deletion src/math_msvc_compatibility.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017, Michael Boyle
// Copyright (c) 2021, Michael Boyle
// See LICENSE file for details: <https://github.com/moble/quaternion/blob/main/LICENSE>

#ifndef __MATH_MSVC_COMPATIBILITY_H__
Expand Down
2 changes: 1 addition & 1 deletion src/numpy_quaternion.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017, Michael Boyle
// Copyright (c) 2021, Michael Boyle
// See LICENSE file for details: <https://github.com/moble/quaternion/blob/main/LICENSE>

#define NPY_NO_DEPRECATED_API NPY_API_VERSION
Expand Down
2 changes: 1 addition & 1 deletion src/quaternion.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017, Michael Boyle
// Copyright (c) 2021, Michael Boyle
// See LICENSE file for details: <https://github.com/moble/quaternion/blob/main/LICENSE>

#ifdef __cplusplus
Expand Down
2 changes: 1 addition & 1 deletion src/quaternion.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017, Michael Boyle
// Copyright (c) 2021, Michael Boyle
// See LICENSE file for details: <https://github.com/moble/quaternion/blob/main/LICENSE>

#ifndef __QUATERNION_H__
Expand Down
6 changes: 4 additions & 2 deletions src/quaternion/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Copyright (c) 2020, Michael Boyle
# -*- coding: utf-8 -*-

# Copyright (c) 2021, Michael Boyle
# See LICENSE file for details: <https://github.com/moble/quaternion/blob/main/LICENSE>

__version__ = "2021.8.27.16.41.17"
__version__ = "2021.8.30.10.8.27"
__doc_title__ = "Quaternion dtype for NumPy"
__doc__ = "Adds a quaternion dtype to NumPy."
__all__ = ['quaternion',
Expand Down
4 changes: 3 additions & 1 deletion src/quaternion/calculus.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Copyright (c) 2019, Michael Boyle
# -*- coding: utf-8 -*-

# Copyright (c) 2021, Michael Boyle
# See LICENSE file for details: <https://github.com/moble/quaternion/blob/main/LICENSE>

from __future__ import division, print_function, absolute_import
Expand Down
4 changes: 3 additions & 1 deletion src/quaternion/means.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Copyright (c) 2017, Michael Boyle
# -*- coding: utf-8 -*-

# Copyright (c) 2021, Michael Boyle
# See LICENSE file for details: <https://github.com/moble/quaternion/blob/main/LICENSE>

from __future__ import division, print_function, absolute_import
Expand Down
4 changes: 3 additions & 1 deletion src/quaternion/numba_wrapper.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Copyright (c) 2017, Michael Boyle
# -*- coding: utf-8 -*-

# Copyright (c) 2021, Michael Boyle
# See LICENSE file for details: <https://github.com/moble/quaternion/blob/main/LICENSE>

from __future__ import division, print_function, absolute_import
Expand Down
4 changes: 3 additions & 1 deletion src/quaternion/quaternion_time_series.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Copyright (c) 2017, Michael Boyle
# -*- coding: utf-8 -*-

# Copyright (c) 2021, Michael Boyle
# See LICENSE file for details: <https://github.com/moble/quaternion/blob/main/LICENSE>

from __future__ import print_function, division, absolute_import
Expand Down
1 change: 1 addition & 0 deletions tests/test_calculus.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from __future__ import print_function, division, absolute_import

Expand Down
1 change: 1 addition & 0 deletions tests/test_quaternion.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from __future__ import print_function, division, absolute_import
import os
Expand Down

0 comments on commit 245e79d

Please sign in to comment.