- This is the example for people who want to support pip download like a library in the project they made.
- Just like this
pip install git+https://github.com/yoonsubKim/how-to-support-pip-download.git
- It is essential to have setup.py and write some features in the file.
- Below this is the example of setup.py
- It can be there is the same project name, so decide carefully.
- When user who install your project through the pip, there are just designated directories on the packages attributes in setup.py. Therefore, check the directories that you want to release.
from setuptools import setup
setup(
name='project_name',
version='0.0.1',
description='illustrating how to make the project that people can download through the pip on the github',
url='https://github.com/yoonsubKim/how-to-support-pip-download',
author='rupert kim',
author_email='[email protected]',
license='MIT',
install_requires=[
'requests'
],
packages=['packages']
)