|
1 | 1 | #!/usr/bin/env python |
2 | | -# ProjectAirSim python client package |
3 | | - |
4 | 2 | from setuptools import setup |
5 | 3 |
|
6 | | - |
7 | | -setup( |
8 | | - name="projectairsim", |
9 | | - version="2023.9.15", |
10 | | - description="ProjectAirSim client package", |
11 | | - long_description="To be populated from a README.md", # TODO Populate from a README.md |
12 | | - package_dir={"": "src"}, |
13 | | - packages=[ |
14 | | - "projectairsim", |
15 | | - "projectairsim.autonomy", |
16 | | - "projectairsim.autonomy.models", |
17 | | - "projectairsim.autonomy.models.backbone", |
18 | | - "projectairsim.autonomy.gym_envs", |
19 | | - "projectairsim.datacollection", |
20 | | - "projectairsim.datacollection.augmentation", |
21 | | - "projectairsim.datacollection.collection", |
22 | | - "projectairsim.datacollection.randomization", |
23 | | - "projectairsim.datacollection.trajectory", |
24 | | - "projectairsim.datacollection.specs", |
25 | | - "projectairsim.datacollection.validation", |
26 | | - ], |
27 | | - include_package_data=True, |
28 | | - package_data={ |
29 | | - "": ["schema/*.jsonc"], |
30 | | - "projectairsim.autonomy.gym_envs": ["sim_config/*.jsonc", "*.ink"], |
31 | | - }, |
32 | | - install_requires=[ |
33 | | - "pynng>=0.5.0", |
34 | | - "msgpack>=1.0.5", |
35 | | - "opencv-python>=4.2.0.32", |
36 | | - "numpy", |
37 | | - "matplotlib", |
38 | | - "commentjson>=0.9.0", |
39 | | - "jsonschema>=4.4.0", |
40 | | - "inputs", |
41 | | - "pqdict", |
42 | | - "cryptography", |
43 | | - "pykml", |
44 | | - "junit-xml", |
45 | | - "jsonlines", |
46 | | - "Shapely", |
47 | | - "azure-storage-blob", |
48 | | - "open3d==0.16.*" # LidarDisplay view setting is broken from 0.17.0 |
49 | | - ], |
50 | | - python_requires=">=3.7, <4", |
51 | | - extras_require={ |
52 | | - "autonomy": [ |
53 | | - "torch>=1.8.0", |
54 | | - "torchvision>=0.9.0", |
55 | | - "scikit-image>=0.18.1", |
56 | | - "Pillow<=8.2.0", # Required since pip doesn't resolve gym's req ver |
57 | | - "gym==0.18.3", |
58 | | - "onnxruntime-gpu", |
59 | | - "pydantic", |
60 | | - "python-multipart", |
61 | | - "fastapi", |
62 | | - "uvicorn", |
63 | | - ], |
64 | | - "bonsai": [ |
65 | | - "microsoft-bonsai-api==0.1.2", |
66 | | - "python-dotenv==0.13.0", |
67 | | - "bonsai-cli==1.0.8", |
68 | | - "msal-extensions==0.1.3", |
69 | | - ], |
70 | | - "datacollection": ["albumentations==1.3.0"], |
71 | | - }, |
72 | | -) |
| 4 | +# Compatibility shim: all metadata is defined in pyproject.toml (PEP 621). |
| 5 | +# Keeping this file allows legacy workflows like: |
| 6 | +# python setup.py sdist bdist_wheel |
| 7 | +if __name__ == "__main__": |
| 8 | + setup() |
0 commit comments