mirror of
https://github.com/onionshare/onionshare.git
synced 2025-03-14 01:46:28 -04:00
Remove toml dep from setup.py
This commit is contained in:
parent
e5ce4a1b1d
commit
0065278539
@ -22,11 +22,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
# This setup.py file is used for flatpak packaging. For other packaging,
|
||||
# OnionShare uses briefcase.
|
||||
|
||||
import toml
|
||||
import setuptools
|
||||
|
||||
with open("../pyproject.toml") as f:
|
||||
version = toml.loads(f.read())["tool"]["briefcase"]["version"]
|
||||
for line in f.readlines():
|
||||
if line.startswith("version = "):
|
||||
version = line.split('"')[1]
|
||||
break
|
||||
|
||||
setuptools.setup(
|
||||
name="onionshare",
|
||||
|
Loading…
x
Reference in New Issue
Block a user