File size: 675 Bytes
191ab7c
 
 
 
 
 
 
 
 
 
 
412ddf9
 
 
191ab7c
 
 
ff07741
412ddf9
191ab7c
 
ff07741
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "openenv-ecommerce_bot"
version = "0.1.0"
description = "Ecommerce Bot environment for OpenEnv"
requires-python = ">=3.10"
dependencies = [
    "openenv-core[core]>=0.2.2",
    "fastapi",
    "uvicorn",
    "python-multipart"
]

[project.scripts]
# We keep this as 'server' because the hackathon runner expects this command
server = "app:main"

[tool.setuptools]
include-package-data = true
# THE MAGIC FIX: This tells Python that the package 'server' 
# is actually located in the current root directory '.'
packages = ["server"]
package-dir = { "server" = "." }