Skip to content

Commit

Permalink
put the package info in init rather than setup
Browse files Browse the repository at this point in the history
  • Loading branch information
zaccharieramzi committed Jan 7, 2022
1 parent f06b6d1 commit 5652b2a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
8 changes: 8 additions & 0 deletions jz_hydra_submitit_launcher/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"""Package info"""

__version__ = "develop"
__author__ = 'Zaccharie Ramzi'
__author_email__ = '[email protected]'
__license__ = 'MIT'
__homepage__ = 'https://github.com/zaccharieramzi/jz-hydra-submitit-launcher'
__docs__ = 'Jean Zay tailored Hydra submitit launcher.'
14 changes: 10 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,21 @@
with open('requirements.txt') as open_file:
install_requires = open_file.read()

import jz_hydra_submitit_launcher

setuptools.setup(
name="jz-hydra-submitit-launcher",
version="0.0.1",
author="Zaccharie Ramzi",
author_email="[email protected]",
description="Jean Zay tailored Hydra submitit launcher.",
version=jz_hydra_submitit_launcher.__version__,
author=jz_hydra_submitit_launcher.__author__,
author_email=jz_hydra_submitit_launcher.__author_email__,
description=jz_hydra_submitit_launcher.__docs__,
long_description=long_description,
long_description_content_type="text/markdown",
homepage=jz_hydra_submitit_launcher.__homepage__,
url="https://github.com/zaccharieramzi/jz-hydra-submitit-launcher",
license=jz_hydra_submitit_launcher.__license__,
packages=setuptools.find_packages(),
zip_safe=False,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
Expand All @@ -25,4 +30,5 @@
install_requires=install_requires,
python_requires='>=3.6',
include_package_data=True,
keywords=['hydra', 'submitit', 'jean-zay'],
)

0 comments on commit 5652b2a

Please sign in to comment.