diff --git a/.gitignore b/.gitignore
index 9284d3b045963de29f0e9b5ec4b2304a39984837..964680376c1864d5d4c73cb5309939776ebc7c36 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
 __pycache__
 .vscode
 .coverage
+dist
 out/*
 
 workloads/*
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000000000000000000000000000000000000..8b72732636504e0b5f5cb7d747c1d3da59d67687
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,19 @@
+[build-system]
+build-backend = "flit_core.buildapi"
+requires = ["flit_core>=3.4"]
+
+[project]
+name = "swf2userSessions"
+version = "0.0.1"
+authors = [
+  { name="Maƫl Madon", email="mael.madon@irit.fr" },
+]
+description = "Script to decompose a workload trace into user sessions."
+readme = "README.md"
+requires-python = ">=3.7"
+classifiers = [
+    "Programming Language :: Python :: 3",
+    "Operating System :: OS Independent",
+    "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
+]
+