File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,36 @@ or find a python distribution for Mac OS with this support.
147
147
148
148
...
149
149
150
+ ### Publishing a release to PyPI
151
+
152
+ Because I forget...
153
+
154
+ ```
155
+ # assumes ~/.pypirc is already set up
156
+
157
+ workon dbt-sqlite-devel
158
+
159
+ vi setup.py # update version
160
+
161
+ # start clean
162
+ rm -rf dist/ build/ *.egg-info
163
+
164
+ # make sure tools are up to date
165
+ python -m pip install --upgrade setuptools wheel twine
166
+
167
+ # build
168
+ python setup.py sdist bdist_wheel
169
+
170
+ # upload to PyPI
171
+ python -m twine upload dist/*
172
+
173
+ git commit
174
+ git tag vXXX
175
+ git push --tags
176
+
177
+ # go to github and "Draft a new release"
178
+ ```
179
+
150
180
## Running Tests
151
181
152
182
Install the ` pytest-dbt-adapter ` package and run the test specs in this repository:
You can’t perform that action at this time.
0 commit comments