Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
D-GENIES
Commits
67884f3f
Commit
67884f3f
authored
May 15, 2018
by
Floreal Cabanettes
Browse files
Fix compatibility to pip 10 + change version to 1.1.1
parent
ddf1fc73
Changes
2
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
67884f3f
import
os
import
sys
from
setuptools
import
setup
,
find_packages
from
pip.req
import
parse_requirements
from
pathlib
import
Path
install_reqs
=
parse_requirements
(
'requirements.txt'
,
session
=
'hack'
)
with
open
(
'requirements.txt'
)
as
f
:
install_reqs
=
f
.
read
().
strip
().
split
(
'
\n
'
)
# reqs is a list of requirement
# e.g. ['django==1.5.1', 'mezzanine==1.4.6']
reqs
=
[
str
(
ir
.
req
)
for
ir
in
install_reqs
]
version
=
'1.1.0'
version
=
'1.1.1'
if
os
.
name
==
"posix"
:
...
...
@@ -25,7 +24,7 @@ if os.name == "posix":
package_dir
=
{
'dgenies'
:
'src/dgenies'
},
include_package_data
=
True
,
zip_safe
=
False
,
install_requires
=
reqs
,
install_requires
=
install_
reqs
,
data_files
=
[(
config_dir
,
[
'application.properties'
]),
(
config_dir
,
[
'tools.yaml'
]),
(
wsgi_dir
,
[
'dgenies.wsgi'
])],
...
...
win32/build_setup.iss
View file @
67884f3f
...
...
@@ -5,7 +5,7 @@
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
#define AppVer="1.1.
0
"
#define AppVer="1.1.
1
"
AppId={{4B4F7755-28D0-4157-89AA-9752C38E3508}
AppName=D-Genies
AppVersion={#AppVer}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment