Skip to content

Commit

Permalink
recompiled with py310
Browse files Browse the repository at this point in the history
  • Loading branch information
yssource committed Feb 22, 2022
1 parent 64130b0 commit f72bfef
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 20 deletions.
1 change: 0 additions & 1 deletion .python-version

This file was deleted.

4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
direnv 2.28.0
direnv 2.30.3
# ccache 4.1
shellcheck 0.7.1
poetry 1.1.6
poetry 1.1.13
12 changes: 8 additions & 4 deletions abquant.profile
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,24 @@ compiler=clang
compiler.version=13
compiler.libcxx=libc++
build_type=Release

[options]
qt:shared=True
qt:qtdeclarative=True
qt:qttools=True
qt:qtwebsockets=True
qt:with_vulkan=True
qt:with_dbus=True

[build_requires]
# *: cmake/3.20.3, ninja/1.10.2
[env]

[env]
// CC="ccache clang"
// CXX="ccache clang++"
// CPP="ccache cpp"

CC="clang"
CXX="clang++"
CPP="cpp"

LDFLAGS="-fuse-ld=lld"

CONAN_CMAKE_GENERATOR=Ninja
8 changes: 0 additions & 8 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,11 @@ class AbquantConan(ConanFile):
settings = "os", "arch", "compiler", "build_type"
options = {
"shared": [True, False],
"with_glib": [True, False],
"with_harfbuzz": [True, False],
"fPIC": [True, False],
}
default_options = {
"shared": True,
"fPIC": True,
"qt:shared": True,
"qt:qtdeclarative": True,
"qt:qttools": True,
"qt:qtwebsockets": True,
"with_glib": True,
"with_harfbuzz": True,
}

generators = (
Expand Down
12 changes: 7 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,25 @@ packages = [
{ include = "abquant/**/*.py" },
]

[[tool.poetry.source]]
name = "aliyun"
url = "https://mirrors.aliyun.com/pypi/simple"

[tool.poetry.dependencies]
python = "^3.8"
numpy = "^1.20.3"
python = ">=3.9,<3.11"
numpy = "^1.22.2"
pandas = "^1.2.4"
click = "^7.1.2"
Logbook = "^1.5.3"
pytdx = "^1.72"
retrying = "^1.3.3"
simplejson = "^3.17.2"
pymongo = "^3.11.3"
pyarrow = "^4.0.0"
requests = "^2.27.1"
tqdm = "^4.62.3"

[tool.poetry.dev-dependencies]
conan = "^1.34.0"
conan = "^1.45.0"
black = "^21.5b1"
pytest = "^6.2.4"
pudb = "^2021.1"
Expand All @@ -39,7 +41,7 @@ requires = ["poetry>=1.1.6"]
build-backend = "poetry.masonry.api"

[tool.black]
target-version = ['py37', 'py38']
target-version = ['py38', 'py39', 'py310']
exclude = '''
(
asv_bench/env
Expand Down

0 comments on commit f72bfef

Please sign in to comment.