Skip to content

Commit

Permalink
Rearrange project files #7
Browse files Browse the repository at this point in the history
  • Loading branch information
jurihock committed Jun 14, 2023
1 parent 6d0bdce commit 871a886
Show file tree
Hide file tree
Showing 31 changed files with 9 additions and 33 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ Feel free to obtain current version from [PyPI](https://pypi.org/project/qdft) b

| QDFT | Chroma12 |
| :--: | :------: |
| ![SDFT](https://github.com/jurihock/qdft/raw/main/examples/face.png) | ![STFT](https://github.com/jurihock/qdft/raw/main/examples/cmajor.png) |
| [face.py](https://github.com/jurihock/qdft/blob/main/examples/face.py) | [cmajor.py](https://github.com/jurihock/qdft/blob/main/examples/cmajor.py) |
| ![SDFT](https://github.com/jurihock/qdft/raw/main/examples/face.wav.png) | ![STFT](https://github.com/jurihock/qdft/raw/main/examples/cmajor.wav.png) |
| ![SDFT](https://github.com/jurihock/qdft/raw/main/python/examples/face.png) | ![STFT](https://github.com/jurihock/qdft/raw/main/python/examples/cmajor.png) |
| [face.py](https://github.com/jurihock/qdft/blob/main/python/examples/face.py) | [cmajor.py](https://github.com/jurihock/qdft/blob/main/python/examples/cmajor.py) |
| ![SDFT](https://github.com/jurihock/qdft/raw/main/python/examples/face.wav.png) | ![STFT](https://github.com/jurihock/qdft/raw/main/python/examples/cmajor.wav.png) |

## See also

Expand Down
6 changes: 1 addition & 5 deletions CMakeLists.txt → cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,9 @@ else()
# add_compile_options(-Wall -Werror)
endif()

# include("${CMAKE_CURRENT_LIST_DIR}/src/c/qdft/CMakeLists.txt")
include("${CMAKE_CURRENT_LIST_DIR}/src/cpp/qdft/CMakeLists.txt")
include("${CMAKE_CURRENT_LIST_DIR}/src/qdft/CMakeLists.txt")

include("${CMAKE_CURRENT_LIST_DIR}/lib/cpm.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/lib/dr.cmake")
# include("${CMAKE_CURRENT_LIST_DIR}/test/CMakeLists.txt")

include("${CMAKE_CURRENT_LIST_DIR}/lib/python.cmake")

if(Python3_FOUND AND Python3_NumPy_FOUND)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 0 additions & 20 deletions lib/dr.cmake

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion examples/analysis.py → python/examples/analysis.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os, sys
src = os.path.join(os.path.dirname(__file__), '..', 'src', 'python')
src = os.path.join(os.path.dirname(__file__), '..', 'src')
sys.path.insert(0, src)

from qdft import QDFT
Expand Down
2 changes: 1 addition & 1 deletion examples/cent.py → python/examples/cent.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os, sys
src = os.path.join(os.path.dirname(__file__), '..', 'src', 'python')
src = os.path.join(os.path.dirname(__file__), '..', 'src')
sys.path.insert(0, src)

from qdft import Chroma, Scale
Expand Down
File renamed without changes
2 changes: 1 addition & 1 deletion examples/cmajor.py → python/examples/cmajor.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os, sys
src = os.path.join(os.path.dirname(__file__), '..', 'src', 'python')
src = os.path.join(os.path.dirname(__file__), '..', 'src')
sys.path.insert(0, src)

from qdft import Chroma12
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion examples/face.py → python/examples/face.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os, sys
src = os.path.join(os.path.dirname(__file__), '..', 'src', 'python')
src = os.path.join(os.path.dirname(__file__), '..', 'src')
sys.path.insert(0, src)

from qdft import QDFT
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes.
2 changes: 1 addition & 1 deletion setup.cfg → python/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ classifiers =

[options]
package_dir=
= src/python
= src
packages =
qdft
python_requires =
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 871a886

Please sign in to comment.