Created
February 21, 2019 22:47
-
-
Save discdiver/bfa7a23fb3147442dd1229cd482103dd to your computer and use it in GitHub Desktop.
Example setup.py file for guide to creating python package
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
from setuptools import setup, find_packages | |
with open("README.md", "r") as readme_file: | |
readme = readme_file.read() | |
requirements = ["ipython>=6", "nbformat>=4", "nbconvert>=5", "requests>=2"] | |
setup( | |
name="notebookc", | |
version="0.0.1", | |
author="Jeff Hale", | |
author_email="[email protected]", | |
description="A package to convert your Jupyter Notebook", | |
long_description=readme, | |
long_description_content_type="text/markdown", | |
url="https://github.com/your_package/homepage/", | |
packages=find_packages(), | |
install_requires=requirements, | |
classifiers=[ | |
"Programming Language :: Python :: 3.7", | |
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | |
], | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment