Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4.3"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
42 changes: 32 additions & 10 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,13 +1,35 @@
[metadata]
# This includes the license file(s) in the wheel.
# https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file
license_files = LICENSE.txt
name = cvae
author = Max Frenzel
author_email = maxfrenzel+cvae@gmail.com
description = CompressionVAE: General purpose dimensionality reduction and manifold learning tool based on Variational Autoencoder.
keywords =
vae
variational
autoencoder
manifold
dimensionality
reduction
compression
tensorflow
url = https://github.com/maxfrenzel/CompressionVAE
long_description = file: README.md
long_description_content_type = text/markdown
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: MIT License
Operating System :: OS Independent

[options]
packages = find:
install_requires =
numpy
matplotlib
joblib
tqdm
tensorflow>=1,<2
python_requires = >=3.6

[bdist_wheel]
# This flag says to generate wheels that support both Python 2 and Python
# 3. If your code will not run unchanged on both Python 2 and 3, you will
# need to generate separate wheels for each Python version that you
# support. Removing this line (or setting universal to 0) will prevent
# bdist_wheel from trying to make a universal wheel. For more see:
# https://packaging.python.org/guides/distributing-packages-using-setuptools/#wheels
universal=0
universal = 0

30 changes: 2 additions & 28 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,31 +1,5 @@
import setuptools

with open("README.md", "r") as fh:
long_description = fh.read()

setuptools.setup(
name="cvae",
version="0.0.3",
author="Max Frenzel",
author_email="maxfrenzel+cvae@gmail.com",
description="CompressionVAE: General purpose dimensionality reduction and manifold learning tool based on "
"Variational Autoencoder.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/maxfrenzel/CompressionVAE",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
install_requires=[
'numpy',
'matplotlib',
'joblib',
'tqdm',
'tensorflow>=1,<2'
],
keywords='vae variational autoencoder manifold dimensionality reduction compression tensorflow'
)
if __name__ == "__main__":
setuptools.setup()