-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: setup.py for use in conda recipe
- Loading branch information
1 parent
6fb0be9
commit a262b8f
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', | ||
) |