Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jass
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Statistical-Genetics
jass
Commits
256a801a
Commit
256a801a
authored
3 months ago
by
Veronique Legrand
Browse files
Options
Downloads
Patches
Plain Diff
got rid of the use of deprecated setup function; did a pyproject.toml instead
parent
56313c79
No related branches found
No related tags found
1 merge request
!108
Fixing py 3.12
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
pyproject.toml
+46
-0
46 additions, 0 deletions
pyproject.toml
setup.cfg
+0
-2
0 additions, 2 deletions
setup.cfg
setup.py
+16
-46
16 additions, 46 deletions
setup.py
with
63 additions
and
49 deletions
.gitlab-ci.yml
+
1
−
1
View file @
256a801a
...
...
@@ -128,7 +128,7 @@ build-backend:
-v $(pwd)/.eggs:/code/.eggs
-v $(pwd)/jass.egg-info:/code/jass.egg-info
"$CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG/${PATH_TAG}:$CI_COMMIT_SHA"
python
setup.py
test
python
-m unit
test
build-client-dev
:
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
0 → 100644
+
46
−
0
View file @
256a801a
[build-system]
requires
=
[
"setuptools"
]
build-backend
=
"setuptools.build_meta"
[project]
name
=
"jass"
authors
=
[
{name
=
"Hervé Ménager"
,
email
=
'hmenager@pasteur.fr'
}
,
{name
=
"Pierre Lechat"
,
email
=
'pierre.lechat@pasteur.fr'
}
,
{name
=
"Carla Lasry"
,
email
=
'carla.lasry@pasteur.fr'
}
,
{name
=
"Vincent Guillemot"
,
email
=
'vincent.guillemot@pasteur.fr'
}
,
{name
=
"Hugues Aschard"
,
email
=
'hugues.aschard@pasteur.fr'
}
,
{name
=
"Hanna Julienne"
,
email
=
'hanna.julienne@pasteur.fr'
}
]
description
=
"JASS allows for single SNP joint analysis of multiple GWAS summary statistics"
readme
=
"README.md"
dynamic
=
[
"dependencies"
]
version
=
"2.2"
requires-python
=
">
=
3.6
"
classifiers
=
[
"Programming Language :: Python :: 3"
,
"License :: OSI Approved :: MIT License"
,
"Operating System :: OS Independent"
,
]
[tool.setuptools.dynamic]
dependencies
=
{
file
=
[
"requirements.txt"
]}
[tool.setuptools.packages.find]
include
=
[
"jass*"
]
[tool.setuptools.package-data]
jass
=
[
"swagger/swagger.yaml"
,
"data/*.tsv"
]
# include-package-data = true
[project.scripts]
jass
=
"jass.__main__:main"
[project.urls]
Homepage
=
"https://gitlab.pasteur.fr/statistical-genetics/jass"
[project.license]
text
=
"MIT"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
setup.cfg
deleted
100644 → 0
+
0
−
2
View file @
56313c79
[aliases]
test
=
pytest
This diff is collapsed.
Click to expand it.
setup.py
+
16
−
46
View file @
256a801a
...
...
@@ -2,52 +2,22 @@
import
os
import
pathlib
import
pkg_resources
from
setuptools
import
setup
,
find_packages
NAME
=
"
jass
"
VERSION
=
"
2.2
"
from
setuptools
import
setup
SETUP_DIR
=
os
.
path
.
dirname
(
__file__
)
README
=
os
.
path
.
join
(
SETUP_DIR
,
'
README.md
'
)
readme
=
open
(
README
).
read
()
with
pathlib
.
Path
(
'
requirements.txt
'
).
open
()
as
requirements_txt
:
REQUIRES
=
[
str
(
requirement
)
for
requirement
in
pkg_resources
.
parse_requirements
(
requirements_txt
)
]
setup
(
name
=
NAME
,
version
=
VERSION
,
description
=
"
JASS allows for single SNP joint analysis of multiple GWAS summary statistics
"
,
author
=
'
Hervé Ménager and Pierre Lechat and Carla Lasry and Vincent Guillemot and Hugues Aschard and Hanna Julienne
'
,
author_email
=
"
hmenager@pasteur.fr, pierre.lechat@pasteur.fr, carla.lasry@pasteur.fr, vincent.guillemot@pasteur.fr, hugues.aschard@pasteur.fr, hanna.julienne@pasteur.fr
"
,
url
=
"
https://gitlab.pasteur.fr/statistical-genetics/jass
"
,
packages
=
find_packages
(),
install_requires
=
REQUIRES
,
license
=
"
MIT
"
,
keywords
=
[
"
GWAS
"
,
"
Data analysis
"
,
"
summary statistics
"
],
package_data
=
{
'
jass
'
:
[
'
swagger/swagger.yaml
'
,
"
data/*.tsv
"
]},
include_package_data
=
True
,
long_description
=
readme
,
long_description_content_type
=
"
text/markdown
"
,
classifiers
=
[
"
Programming Language :: Python :: 3
"
,
"
License :: OSI Approved :: MIT License
"
,
"
Operating System :: OS Independent
"
,
],
python_requires
=
'
>=3.6
'
,
setup_requires
=
[
'
pytest-runner
'
,
'
Flask-Testing
'
],
entry_points
=
{
'
console_scripts
'
:
[
'
jass=jass.__main__:main
'
,
]
}
)
# NAME = "jass"
# VERSION = "2.2"
#
# SETUP_DIR = os.path.dirname(__file__)
# README = os.path.join(SETUP_DIR, 'README.md')
# readme = open(README).read()
#
# with pathlib.Path('requirements.txt').open() as requirements_txt:
# REQUIRES = [
# str(requirement)
# for requirement
# in pkg_resources.parse_requirements(requirements_txt)
# ]
if
__name__
==
"
__main__
"
:
setup
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment