mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-27 00:25:45 -04:00
Make snapcraft packaging work with briefcase refactor
This commit is contained in:
parent
3cef5c1679
commit
f8437c4fea
6 changed files with 208 additions and 137 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue