├── README.md ├── mydependency └── __init__.py ├── requirements.txt └── setup.py /README.md: -------------------------------------------------------------------------------- 1 | # mydependency 2 | 3 | ## Description 4 | 5 | This is a public, github-hosted python package for testing depencies. 6 | 7 | ## Install 8 | 9 | Simply run : 10 | 11 | ```console 12 | pip install git+https://github.com/astariul/mydependency.git 13 | ``` 14 | 15 | ## Usage 16 | 17 | ```python 18 | from mydependency import hi 19 | print(hi()) 20 | ``` -------------------------------------------------------------------------------- /mydependency/__init__.py: -------------------------------------------------------------------------------- 1 | def hi(): 2 | return "Hello world from public repository" -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astariul/mydependency/4eecc0e4d4609c18ea71332eb96e99ecd48cb7e1/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- 1 | import setuptools 2 | 3 | with open("README.md", "r") as fh: 4 | long_description = fh.read() 5 | 6 | with open('requirements.txt') as fr: 7 | reqs = fr.read().strip().split('\n') 8 | 9 | 10 | setuptools.setup( 11 | name="mydependency", 12 | version="1.0", 13 | author="Nicolas REMOND", 14 | author_email="remondnicola@gmail.com", 15 | description="A public github-hosted python package for test", 16 | long_description=long_description, 17 | long_description_content_type="text/markdown", 18 | url="https://github.com/astariul/mydependency", 19 | packages=setuptools.find_packages(), 20 | classifiers=[ 21 | "Programming Language :: Python :: 3.6", 22 | "Operating System :: OS Independent", 23 | ], 24 | python_requires='>=3.6', 25 | install_requires=reqs, 26 | ) --------------------------------------------------------------------------------