pyscreeps-arena 0.2.2__tar.gz → 0.3a0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. pyscreeps-arena-0.3a0/PKG-INFO +30 -0
  2. {pyscreeps_arena-0.2.2 → pyscreeps-arena-0.3a0}/pyscreeps_arena/__init__.py +1 -1
  3. pyscreeps-arena-0.3a0/pyscreeps_arena/build.py +7 -0
  4. pyscreeps-arena-0.3a0/pyscreeps_arena/compiler.py +787 -0
  5. pyscreeps-arena-0.3a0/pyscreeps_arena/core/__init__.py +1 -0
  6. pyscreeps-arena-0.3a0/pyscreeps_arena/core/basic.py +72 -0
  7. pyscreeps-arena-0.3a0/pyscreeps_arena/core/config.py +13 -0
  8. pyscreeps-arena-0.3a0/pyscreeps_arena/core/const.py +16 -0
  9. pyscreeps-arena-0.3a0/pyscreeps_arena/core/core.py +132 -0
  10. pyscreeps-arena-0.3a0/pyscreeps_arena/core/main.py +9 -0
  11. pyscreeps-arena-0.3a0/pyscreeps_arena/core/utils.py +11 -0
  12. pyscreeps-arena-0.3a0/pyscreeps_arena/localization.py +128 -0
  13. pyscreeps-arena-0.3a0/pyscreeps_arena/project.7z +0 -0
  14. pyscreeps-arena-0.3a0/pyscreeps_arena.egg-info/PKG-INFO +30 -0
  15. pyscreeps-arena-0.3a0/pyscreeps_arena.egg-info/SOURCES.txt +19 -0
  16. {pyscreeps_arena-0.2.2 → pyscreeps-arena-0.3a0}/pyscreeps_arena.egg-info/requires.txt +1 -1
  17. {pyscreeps_arena-0.2.2 → pyscreeps-arena-0.3a0}/setup.py +2 -2
  18. pyscreeps_arena-0.2.2/PKG-INFO +0 -1001
  19. pyscreeps_arena-0.2.2/pyscreeps_arena/build.py +0 -619
  20. pyscreeps_arena-0.2.2/pyscreeps_arena/project.7z +0 -0
  21. pyscreeps_arena-0.2.2/pyscreeps_arena.egg-info/PKG-INFO +0 -1001
  22. pyscreeps_arena-0.2.2/pyscreeps_arena.egg-info/SOURCES.txt +0 -10
  23. {pyscreeps_arena-0.2.2 → pyscreeps-arena-0.3a0}/pyscreeps_arena.egg-info/dependency_links.txt +0 -0
  24. {pyscreeps_arena-0.2.2 → pyscreeps-arena-0.3a0}/pyscreeps_arena.egg-info/entry_points.txt +0 -0
  25. {pyscreeps_arena-0.2.2 → pyscreeps-arena-0.3a0}/pyscreeps_arena.egg-info/top_level.txt +0 -0
  26. {pyscreeps_arena-0.2.2 → pyscreeps-arena-0.3a0}/setup.cfg +0 -0
@@ -0,0 +1,30 @@
1
+ Metadata-Version: 2.1
2
+ Name: pyscreeps-arena
3
+ Version: 0.3a0
4
+ Summary: Python api|interface to play game: Screeps: Arena.
5
+ Author-email: 2229066748@qq.com
6
+ Maintainer: Eagle'sBaby
7
+ Maintainer-email: 2229066748@qq.com
8
+ License: Apache Licence 2.0
9
+ Keywords: python,screeps:arena,screeps
10
+ Classifier: Programming Language :: Python
11
+ Classifier: Programming Language :: Python :: 3
12
+ Requires-Python: >=3.10
13
+ Description-Content-Type: text/markdown
14
+
15
+ # PyScreeps-Arena
16
+
17
+ use cmd `pyscreeps-arena <your new project path>` to new a project.
18
+
19
+ ## Tutorial
20
+
21
+ * [Tutorial 1: Loop and import](https://github.com/EagleBaby/python_screeps_arena/blob/main/tutorials/tutorial1-Loop%20and%20import.md)
22
+ * [Tutorial 2: Simple move](https://github.com/EagleBaby/python_screeps_arena/blob/main/tutorials/tutorial2-Simple%20move.md)
23
+ * [Tutorial 3: First attack](https://github.com/EagleBaby/python_screeps_arena/blob/main/tutorials/tutorial3-First%20attack.md)
24
+ * [Tutorial 4: Creeps bodies](https://github.com/EagleBaby/python_screeps_arena/blob/main/tutorials/tutorial4-Creeps%20Bodies.md)
25
+ * [Tutorial 5: Store and transfer](https://github.com/EagleBaby/python_screeps_arena/blob/main/tutorials/tutorial5-Store%20and%20transfer.md)
26
+ * [Tutorial 6: Terrain](https://github.com/EagleBaby/python_screeps_arena/blob/main/tutorials/tutorial6-Terrain.md)
27
+ * [Tutorial 7: Spawn creeps](https://github.com/EagleBaby/python_screeps_arena/blob/main/tutorials/tutorial7-Spawn%20creeps.md)
28
+ * [Tutorial 8: Harvest energy](https://github.com/EagleBaby/python_screeps_arena/blob/main/tutorials/tutorial8-Harvest%20energy.md)
29
+ * [Tutorial 9: Construction](https://github.com/EagleBaby/python_screeps_arena/blob/main/tutorials/tutorial9-Construction.md)
30
+ * [Tutorial 10: Final test](https://github.com/EagleBaby/python_screeps_arena/blob/main/tutorials/tutorial10-Final%20test.md)
@@ -2,7 +2,7 @@ import os
2
2
  import sys
3
3
  import shutil
4
4
  import py7zr
5
-
5
+ from pyscreeps_arena.core import const, config
6
6
  def CMD_NewProject():
7
7
  """
8
8
  cmd:
@@ -0,0 +1,7 @@
1
+ from pyscreeps_arena.compiler import Compiler
2
+
3
+ if __name__ == '__main__':
4
+ compiler = Compiler('src', 'library', 'build')
5
+
6
+ compiler.compile()
7
+ # compiler.clean()