Skip to content

Commit 60d9521

Browse files
committed
refactor
1 parent e551cd5 commit 60d9521

File tree

8 files changed

+15
-4
lines changed

8 files changed

+15
-4
lines changed

.DS_Store

6 KB
Binary file not shown.

Readme.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ The project simplifies data extraction from Revit model in [ACC](https://constru
1010
```bash
1111
pip install revit_meows
1212
```
13+
## Requirements
14+
15+
- Python 3.9+
16+
17+
- Setting Environment Variables
18+
```bash
19+
APS_CLIENT_PKCE_ID=your_client_id
20+
APS_CLIENT_ID=your_client_id
21+
APS_CLIENT_SECRET=your_client_secret
22+
```
1323

1424
## Simple Usage
1525

__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"requests>=2.0",
1818
"aps-toolkit"
1919
],
20-
python_requires=">=3.8",
20+
python_requires=">=3.9",
21+
package_dir={"": "src"},
2122
classifiers=[
2223
"Programming Language :: Python :: 3",
2324
"License :: OSI Approved :: Apache Software License",

src/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from revit_meows import APSRevit
File renamed without changes.

test/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
print(src_dir)
55
sys.path.insert(0, src_dir)
66

7-
from revit_meows import APSRevit
7+
from src.revit_meows import APSRevit

test/test_revit_acc_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from unittest import TestCase
22
from aps_toolkit import Auth
3-
from revit_meows import APSRevit
3+
from .context import APSRevit
44
import os
55
import json
66

0 commit comments

Comments
 (0)