cursor-boilerplate 0.1.1__py3-none-any.whl → 0.1.2__py3-none-any.whl

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.
cursor_boilerplate/cli.py CHANGED
@@ -1,6 +1,7 @@
1
1
  import os
2
2
  import shutil
3
3
  import click
4
+ import pkg_resources
4
5
 
5
6
  @click.command()
6
7
  @click.argument('project_name')
@@ -16,8 +17,11 @@ def main(project_name, path):
16
17
  cursor_dir = os.path.join(project_path, '.cursor')
17
18
  os.makedirs(cursor_dir, exist_ok=True)
18
19
 
20
+ # 패키지의 .cursor 디렉토리 경로 가져오기
21
+ package_dir = pkg_resources.resource_filename('cursor_boilerplate', '')
22
+ current_cursor_dir = os.path.join(package_dir, '.cursor')
23
+
19
24
  # 현재 디렉토리의 .cursor 파일들을 복사
20
- current_cursor_dir = os.path.join(os.path.dirname(os.path.dirname(__file__)), '.cursor')
21
25
  for item in os.listdir(current_cursor_dir):
22
26
  src = os.path.join(current_cursor_dir, item)
23
27
  dst = os.path.join(cursor_dir, item)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cursor-boilerplate
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: A boilerplate project for Cursor IDE
5
5
  Author-email: Your Name <your.email@example.com>
6
6
  License: MIT
@@ -0,0 +1,7 @@
1
+ cursor_boilerplate/__init__.py,sha256=fNOyX5PWOth_NRK0jMtT8zTeiViIztHHz0FylQfqRzQ,22
2
+ cursor_boilerplate/cli.py,sha256=96l8Z0pp8eZ8pHCSJo1tnBkKAKHUGbKdwiJ60APNDDA,1529
3
+ cursor_boilerplate-0.1.2.dist-info/METADATA,sha256=X6wfIHifB3shvCNGR5TuDuNiQNWtqAzw9X1w-E9_CM4,1307
4
+ cursor_boilerplate-0.1.2.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
5
+ cursor_boilerplate-0.1.2.dist-info/entry_points.txt,sha256=gD8ysizP4178GaTgjq9pSphgrTkKaZxOAvMEovAmB7E,67
6
+ cursor_boilerplate-0.1.2.dist-info/top_level.txt,sha256=y8dzxEXg0CC4ruHYL8vncncXIsOpqUqGV-8kqErgMHU,19
7
+ cursor_boilerplate-0.1.2.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- cursor_boilerplate/__init__.py,sha256=fNOyX5PWOth_NRK0jMtT8zTeiViIztHHz0FylQfqRzQ,22
2
- cursor_boilerplate/cli.py,sha256=RRpvl-xF94BJSAI5eayke7gHRWJoT_S92zjkiKf8pNE,1386
3
- cursor_boilerplate-0.1.1.dist-info/METADATA,sha256=bqe8qJvKMy5bsvuEmAWNPvN672BFWEZ_6PtjD_cvV3s,1307
4
- cursor_boilerplate-0.1.1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
5
- cursor_boilerplate-0.1.1.dist-info/entry_points.txt,sha256=gD8ysizP4178GaTgjq9pSphgrTkKaZxOAvMEovAmB7E,67
6
- cursor_boilerplate-0.1.1.dist-info/top_level.txt,sha256=y8dzxEXg0CC4ruHYL8vncncXIsOpqUqGV-8kqErgMHU,19
7
- cursor_boilerplate-0.1.1.dist-info/RECORD,,