Skip to content

Commit

Permalink
feat: setup.py for use in conda recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
mariobuikhuizen committed Jul 14, 2020
1 parent 6fb0be9 commit a262b8f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions quetz/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
version_info = (0, 0, 1)
__version__ = '.'.join(map(str, version_info))
20 changes: 20 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import os
import setuptools


here = os.path.dirname(os.path.abspath(__file__))
version_ns = {}
with open(os.path.join(here, 'quetz', '_version.py')) as f:
exec(f.read(), {}, version_ns)


setuptools.setup(
name="quetz",
version=version_ns['__version__'],
author="The Quetz Development Team",
description="The Mamba package server",
long_description="The Mamba package server",
url="https://github.com/thesnakepit/quetz",
packages=setuptools.find_packages(),
python_requires='>=3.6',
)

0 comments on commit a262b8f

Please sign in to comment.