-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (36 loc) · 1.37 KB
/
setup.py
File metadata and controls
44 lines (36 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright (c) 2019, Max Planck Society / Software Workshop - Max Planck Institute for Intelligent Systems
# Distributed under the GNU GPL license version 3
# See file LICENSE.md or at https://github.com/MPI-IS/multitensor/LICENSE.md
"""
Configuration to create a distribution.
:note: got help from https://stackoverflow.com/questions/35112511/
pip-setup-py-bdist-wheel-no-longer-builds-forced-non-pure-wheels/36886459#36886459
"""
from setuptools import setup, Distribution, find_packages
class BinaryDistribution(Distribution):
"""Distribution which always forces a binary package with platform name."""
def has_ext_modules(self, *args, **kwargs):
return True
setup(
name="multitensor",
version="{{version}}",
description=(
"A library for multilayer network tensor factorization that "
"can be used for community detection, link prediction, "
"and to measure layer interdependence."
),
url="https://github.com/MPI-IS/multitensor",
author="Caterina De Bacco, Jean-Claude Passy, Ivan Oreshnikov",
author_email=(
),
python_requires=">=3.6",
install_requires=["numpy"],
packages=['.'],
package_data={".": [
"{{libname}}"
]},
distclass=BinaryDistribution
)