Skip to content

Commit

Permalink
setting up requirements for package publication
Browse files Browse the repository at this point in the history
  • Loading branch information
tamarervin committed Oct 12, 2021
1 parent 40f6b74 commit 3799e30
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 48 deletions.
Binary file removed dist/sdo_hmi_rvs-0.0.1-py3-none-any.whl
Binary file not shown.
Binary file removed dist/sdo_hmi_rvs-0.0.1.tar.gz
Binary file not shown.
Empty file added sdo_hmi_rvs/__init__.py
Empty file.
19 changes: 0 additions & 19 deletions sdo_hmi_rvs/tools/sdo_hmi_rvs.egg-info/PKG-INFO

This file was deleted.

6 changes: 0 additions & 6 deletions sdo_hmi_rvs/tools/sdo_hmi_rvs.egg-info/SOURCES.txt

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion sdo_hmi_rvs/tools/sdo_hmi_rvs.egg-info/top_level.txt

This file was deleted.

Empty file added setup.cfg
Empty file.
33 changes: 12 additions & 21 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,14 @@
import setuptools
from distutils.core import setup

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

setuptools.setup(
name="sdo_hmi_rvs", # This is the name of the package
version="0.0.1", # The initial release version
author="Tamar Ervin", # Full name of the author
description="Python package to independently derive 'sun-as-a-star' radial velocity variations.",
long_description=long_description, # Long description read from the the readme file
long_description_content_type="text/markdown",
packages=setuptools.find_packages(), # List of all python modules to be installed
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
], # Information to filter the project on PyPi website
python_requires='>=3.8', # Minimum version requirement of the package
py_modules=["sdo_hmi_rvs"], # Name of the python package
package_dir={'':'sdo_hmi_rvs/tools'}, # Directory of the source code of the package
install_requires=[] # Install other dependencies if any
setup(
name = 'sdo_hmi_rvs',
packages = ['sdo_hmi_rvs'],
version = '0.0.1', # Ideally should be same as your GitHub release tag varsion
description = "Python package to independently derive 'sun-as-a-star' radial velocity variations.",
author = 'Tamar Ervin',
author_email = '[email protected]',
url = 'github package source url',
download_url = 'download link you saved',
keywords = ['tag1', 'tag2'],
classifiers = [],
)
23 changes: 23 additions & 0 deletions setup_template.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import setuptools

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

setuptools.setup(
name="sdo_hmi_rvs", # This is the name of the package
version="0.0.1", # The initial release version
author="Tamar Ervin", # Full name of the author
description="Python package to independently derive 'sun-as-a-star' radial velocity variations.",
long_description=long_description, # Long description read from the the readme file
long_description_content_type="text/markdown",
packages=setuptools.find_packages(), # List of all python modules to be installed
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
], # Information to filter the project on PyPi website
python_requires='>=3.8', # Minimum version requirement of the package
py_modules=["sdo_hmi_rvs"], # Name of the python package
package_dir={'':'sdo_hmi_rvs/src'}, # Directory of the source code of the package
install_requires=[] # Install other dependencies if any
)

0 comments on commit 3799e30

Please sign in to comment.