Fix snap so it does not have so many warnings when running GUI

This commit is contained in:
Micah Lee 2020-11-03 22:33:26 -08:00
parent bbf42fa927
commit e9b5bad905
2 changed files with 49 additions and 37 deletions

View file

@ -25,15 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
import os
import setuptools
with open(
os.path.join(
os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "pyproject.toml"
)
) as f:
for line in f.readlines():
if line.startswith("version = "):
version = line.split('"')[1]
break
version = "2.3.dev1"
setuptools.setup(
name="onionshare-cli",