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
<h2id="Python-package">Python package<aclass="anchor-link" href="#Python-package">¶</a></h2><p>An example structure for a python project:</p>
11871
11871
11872
-
<pre><code>my_project
11873
-
11872
+
<pre><code>my_project/
11874
11873
README.md
11875
11874
requirements.txt
11876
11875
setup.py
11877
11876
11878
-
src
11879
-
my_project
11877
+
src/
11878
+
my_project/
11880
11879
__init__.py
11881
11880
my_module.py
11882
11881
other_module.py
11883
11882
11884
-
my_pkg1
11883
+
my_pkg1/
11885
11884
__init__.py
11886
11885
my_third_module.py
11887
11886
11888
-
11889
-
tests
11887
+
tests/
11890
11888
conftest.py
11891
11889
test_module.py
11892
11890
test_other_module.py
11893
11891
11894
-
my_pkg1
11892
+
my_pkg1/
11895
11893
test_my_third_module.py</code></pre>
11896
11894
<ul>
11897
11895
<li><ahref="https://pip.pypa.io/en/latest/user_guide/#requirements-files">requirements.txt</a> lists the Python packages from which my_project depends on.<ul>
0 commit comments