Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/usr/bin/env python

from setuptools import setup
import setuptools
from setuptools import setup, find_packages

q_version = '3.1.6'

Expand All @@ -18,14 +16,14 @@
long_description=long_description,
long_description_content_type="text/markdown",
author_email='[email protected]',
install_requires=[
'six==1.11.0'
],
package_dir={"": "bin"},
packages=setuptools.find_packages(where="bin"),
install_requires=['six'],
python_requires="<3.11",
tests_require=['pytest'],
packages=find_packages("src"),
package_dir={"": "src"},
entry_points={
'console_scripts': [
'q = bin.q:run_standalone'
'q = q.q:run_standalone'
]
}
)
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.
4 changes: 2 additions & 2 deletions test/test_suite.py → tests/test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@
import collections

sys.path.append(os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])),'..','bin'))
from bin.q import QTextAsData, QOutput, QOutputPrinter, QInputParams, DataStream, Sqlite3DB
from q.q import QTextAsData, QOutput, QOutputPrinter, QInputParams, DataStream, Sqlite3DB

# q uses this encoding as the default output encoding. Some of the tests use it in order to
# make sure that the output is correctly encoded
SYSTEM_ENCODING = locale.getpreferredencoding()

EXAMPLES = os.path.abspath(os.path.join(os.getcwd(), 'examples'))
EXAMPLES = os.path.join(os.path.dirname(__file__), 'data')

Q_EXECUTABLE = os.getenv('Q_EXECUTABLE', os.path.abspath('./bin/q.py'))
Q_SKIP_EXECUTABLE_VALIDATION = os.getenv('Q_SKIP_EXECUTABLE_VALIDATION','false')
Expand Down