mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-02 14:36:15 -04:00
Fix snap so it does not have so many warnings when running GUI
This commit is contained in:
parent
bbf42fa927
commit
e9b5bad905
2 changed files with 49 additions and 37 deletions
10
cli/setup.py
10
cli/setup.py
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue