Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
pvyParts committed Nov 21, 2023
1 parent 3d335a7 commit 54663e4
Show file tree
Hide file tree
Showing 8 changed files with 184 additions and 179 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ recursive-include authstats/templates *
recursive-include authstats/static *.*
recursive-include authstats/ *.py

recursive-include frontend/build *
recursive-exclude frontend/ *.*
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ clean:

dev:
pip install --upgrade pip
pip install --upgrade setuptools
pip install wheel -U
pip install tox -U
pip install -e .
Expand All @@ -33,8 +34,7 @@ buildjs:

package:
cd frontend;yarn install;yarn build;
flit build

python -m build

devui:
cd frontend;yarn install;yarn start
2 changes: 1 addition & 1 deletion frontend/build/static/.vite/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"css": [
"assets/index-wyzNN-cK.css"
],
"file": "assets/index-Oj0r9uaT.js",
"file": "assets/index-pvsF-yDQ.js",
"imports": [
"[email protected]",
"[email protected]"
Expand Down
166 changes: 0 additions & 166 deletions frontend/build/static/assets/index-Oj0r9uaT.js

This file was deleted.

166 changes: 166 additions & 0 deletions frontend/build/static/assets/index-pvsF-yDQ.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontend/build/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<!-- Start FontAwesome CSS from cdnjs -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- End FontAwesome CSS from cdnjs -->
<link href="http://localhost:8000/static/allianceauth/css/auth-base.css" type="text/css" rel="stylesheet"> <script type="module" crossorigin src="./assets/index-Oj0r9uaT.js"></script>
<link href="http://localhost:8000/static/allianceauth/css/auth-base.css" type="text/css" rel="stylesheet"> <script type="module" crossorigin src="./assets/index-pvsF-yDQ.js"></script>
<link rel="modulepreload" crossorigin href="./assets/@libs--vsrNows.js">
<link rel="modulepreload" crossorigin href="./assets/@react-router-4ABj5O5c.js">
<link rel="stylesheet" crossorigin href="./assets/index-wyzNN-cK.css">
Expand Down
19 changes: 12 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[build-system]
requires = ["flit_core >=3.8,<4"]
build-backend = "flit_core.buildapi"
requires = [
"setuptools >= 40.9.0",
]
build-backend = "setuptools.build_meta"


[project]
name = "allianceauth-auth-stats"
Expand All @@ -16,9 +19,6 @@ keywords = [
"eveonline",
]

[tool.flit.sdist]
include = ["authstats/**"]

classifiers = [
"Environment :: Web Environment",
"Framework :: Celery",
Expand Down Expand Up @@ -48,8 +48,13 @@ Homepage = "https://github.com/Solar-Helix-Independent-Transport/allianceauth-au
Source = "https://github.com/Solar-Helix-Independent-Transport/allianceauth-auth-reports"
Tracker = "https://github.com/Solar-Helix-Independent-Transport/allianceauth-auth-reports/issues"

[tool.flit.module]
name = "authstats"
[tool.setuptools]
py-modules = ["authstats"]

[tool.setuptools.dynamic]
version = {attr = "authstats.__version__"}
readme = {file = ["README.rst"]}
description = {file = "authstats"}

[tool.isort]
profile = "django"
Expand Down

0 comments on commit 54663e4

Please sign in to comment.