cursor-boilerplate 0.1.0__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,25 +1,17 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cursor-boilerplate
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: A boilerplate project for Cursor IDE
5
- Home-page: https://github.com/yourusername/cursor-boilerplate
6
- Author: Your Name
7
- Author-email: your.email@example.com
5
+ Author-email: Your Name <your.email@example.com>
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/yourusername/cursor-boilerplate
8
8
  Classifier: Programming Language :: Python :: 3
9
- Classifier: License :: OSI Approved :: MIT License
10
9
  Classifier: Operating System :: OS Independent
11
10
  Requires-Python: >=3.6
12
11
  Description-Content-Type: text/markdown
13
12
  Requires-Dist: click
14
- Dynamic: author
15
- Dynamic: author-email
16
- Dynamic: classifier
17
- Dynamic: description
18
- Dynamic: description-content-type
19
- Dynamic: home-page
20
- Dynamic: requires-dist
21
- Dynamic: requires-python
22
- Dynamic: summary
13
+ Requires-Dist: build
14
+ Requires-Dist: twine
23
15
 
24
16
  # Cursor Boilerplate
25
17
 
@@ -34,13 +26,33 @@ pip install cursor-boilerplate
34
26
  ## 사용 방법
35
27
 
36
28
  ```bash
37
- uvx my-project-name
29
+ cursor-boilerplate my-project-name
38
30
  ```
39
31
 
40
32
  또는 특정 경로에 프로젝트를 생성하려면:
41
33
 
42
34
  ```bash
43
- uvx my-project-name --path /path/to/directory
35
+ cursor-boilerplate my-project-name --path /path/to/directory
36
+ ```
37
+
38
+ ## 개발자 가이드
39
+
40
+ ### 개발 환경 설정
41
+
42
+ ```bash
43
+ uv pip install -e .
44
+ ```
45
+
46
+ ### 패키지 빌드 및 배포
47
+
48
+ 1. 패키지 빌드:
49
+ ```bash
50
+ python -m build
51
+ ```
52
+
53
+ 2. PyPI에 업로드:
54
+ ```bash
55
+ twine upload dist/*
44
56
  ```
45
57
 
46
58
  ## 기능
@@ -49,6 +61,12 @@ uvx my-project-name --path /path/to/directory
49
61
  - .cursor 디렉토리 및 파일 자동 복사
50
62
  - 사용자 지정 경로 지원
51
63
 
64
+ ## 의존성
65
+
66
+ - click: CLI 인터페이스 구현
67
+ - build: 패키지 빌드
68
+ - twine: PyPI 업로드
69
+
52
70
  ## 라이센스
53
71
 
54
72
  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,,
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ cursor-boilerplate = cursor_boilerplate.cli:main
@@ -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.0.dist-info/METADATA,sha256=jIwO0W_oTX0WlAfYUc7Vj44nquxUA557c0WPsro5Sqg,1142
4
- cursor_boilerplate-0.1.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
5
- cursor_boilerplate-0.1.0.dist-info/entry_points.txt,sha256=4SRxSUksMtHvTDEBBOPzo95UkioOuX1CqulL3Re8sfg,52
6
- cursor_boilerplate-0.1.0.dist-info/top_level.txt,sha256=y8dzxEXg0CC4ruHYL8vncncXIsOpqUqGV-8kqErgMHU,19
7
- cursor_boilerplate-0.1.0.dist-info/RECORD,,
@@ -1,2 +0,0 @@
1
- [console_scripts]
2
- uvx = cursor_boilerplate.cli:main