Skip to content

Commit b8bd13f

Browse files
committed
Restructuring to align with new project layout
1 parent d1364f2 commit b8bd13f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+9
-9
lines changed

docs/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
except ImportError:
3939
from sphinx import apidoc
4040

41-
output_dir = os.path.join(__location__, "docs", "api")
42-
module_dir = os.path.join(__location__, "../qrl")
41+
output_dir = os.path.join(__location__, "api")
42+
module_dir = os.path.join(__location__, "../src/qrl")
4343
try:
4444
shutil.rmtree(output_dir)
4545
except FileNotFoundError:

setup.cfg

+7-7
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ zip_safe = False
2121
packages = find:
2222
include_package_data = True
2323
package_dir =
24-
=.
24+
=src
2525
# Add here dependencies of your project (semicolon-separated), e.g.
2626
# install_requires = numpy; scipy
2727
install_requires =
2828
# Add here test requirements (semicolon-separated)
2929
tests_require = pytest; pytest-cov
3030

3131
[options.packages.find]
32-
where = qrl
32+
where = src
3333
exclude =
3434
tests
3535

@@ -40,7 +40,7 @@ exclude =
4040

4141
[test]
4242
# py.test options when running `python setup.py test`
43-
addopts = tests qrl
43+
addopts = tests src/qrl
4444

4545
[nosetests]
4646
exclude="test_integration/*"
@@ -51,8 +51,8 @@ exclude="test_integration/*"
5151
# e.g. --cov-report html (or xml) for html/xml output or --junitxml junit.xml
5252
# in order to write a coverage file that can be read by Jenkins.
5353
addopts =
54-
--doctest-modules -s
5554
--cov qrl --cov-report term-missing --cov-report xml
55+
--doctest-modules -s
5656
--flake8
5757
--verbose
5858

@@ -100,14 +100,14 @@ exclude =
100100

101101
[pep8]
102102
max-line-length = 160
103-
exclude = ./qrl/generated,./tests_integration,./qrl/crypto/doctest_data.py
103+
exclude = ./src/qrl/generated,./tests_integration,./src/qrl/crypto/doctest_data.py
104104

105105
[pycodestyle]
106106
max-line-length = 160
107-
exclude = ./qrl/generated,./tests_integration,./qrl/crypto/doctest_data.py
107+
exclude = ./src/qrl/generated,./tests_integration,./src/qrl/crypto/doctest_data.py
108108

109109
[pyscaffold]
110110
# PyScaffold's parameters when the project was created.
111111
# This will be used when updating. Do not change!
112112
version = 3.0.2
113-
package = demo
113+
package = qrl
File renamed without changes.
File renamed without changes.

qrl/cli.py src/qrl/cli.py

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.
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.
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.
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.
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.
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.

src/qrl/generated/__init__.py

Whitespace-only 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.

qrl/main.py src/qrl/main.py

File renamed without changes.

qrl/measure.py src/qrl/measure.py

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.

src/qrl/services/__init__.py

Whitespace-only changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)