File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python
2+ # -*- coding: utf-8 -*-
3+ ################################################################################
4+ #
5+ # sqlalchemy-pervasive -- SQLAlchemy Dialect for Pervasive PSQL
6+ # Copyright © 2013 Lance Edgar
7+ #
8+ # This file is part of sqlalchemy-pervasive.
9+ #
10+ # sqlalchemy-pervasive is free software: you can redistribute it and/or modify
11+ # it under the terms of the GNU General Public License as published by the
12+ # Free Software Foundation, either version 3 of the License, or (at your
13+ # option) any later version.
14+ #
15+ # sqlalchemy-pervasive is distributed in the hope that it will be useful, but
16+ # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17+ # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
18+ # more details.
19+ #
20+ # You should have received a copy of the GNU General Public License along with
21+ # sqlalchemy-pervasive. If not, see <http://www.gnu.org/licenses/>.
22+ #
23+ ################################################################################
24+
25+
26+ import shutil
27+ from fabric .api import task , local
28+
29+
30+ @task
31+ def release ():
32+ """
33+ Release a new version of 'sqlalchemy-pervasive'.
34+ """
35+
36+ shutil .rmtree ('sqlalchemy_pervasive.egg-info' )
37+ local ('python setup.py sdist --formats=gztar register upload' )
You can’t perform that action at this time.
0 commit comments