You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/PythonStarterPackage Setup Guide.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,15 @@ classifiers =
36
36
Programming Language :: Python :: 3 :: Only
37
37
Programming Language :: Python :: 3.8
38
38
```
39
+
*```version``` - Follows the convention: major.minor.maintenance
40
+
*```classifiers``` - See https://pypi.org/classifiers/ for list of classifiers.
41
+
* Deployment status classifiers:
42
+
```
43
+
Development Status :: 3 - Alpha
44
+
Development Status :: 4 - Beta
45
+
Development Status :: 5 - Production/Stable
46
+
```
47
+
39
48
2.```[options]``` - This section contains the critical configurations that tells setuptools what dependencies the package has, which python version the package requires, where to find the package, etc.
40
49
```
41
50
[options]
@@ -49,23 +58,27 @@ packages = find:
49
58
*```python_requires = >=3.8``` - Python version required to run your package.
50
59
*```package_dir = =src``` - This is the source directory of your package.
51
60
*```packages = find:``` - This is the key command that tells setuptools to find the resources of your package.
61
+
52
62
3.```[options.packages.find]``` - Allows you to specify where you want ```packages = find:``` to find your resources.
53
63
```
54
64
[options.packages.find]
55
65
where = src
56
66
```
67
+
57
68
4.```[options.entry_points]``` - This is where you define the entry points to your app. See this guide for more on entry points: https://setuptools.pypa.io/en/stable/userguide/entry_point.html
5.```[options.package_data]``` - This defines files located inside your package that should be included in the build. Things like app assets, environmental variables, photos, etc.
64
76
```
65
77
[options.package_data]
66
78
data =
67
79
data/*.json
68
80
```
81
+
69
82
6.```[options.data_files]``` - This defines the files located outside your package that should be included in the build. Things like configurations, message catalogs, external data, sample data, etc.
0 commit comments