{ "info": { "author": "Robin Champseix", "author_email": "robin.champseix@gmail.com", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "This is a demo to push a package on PyPi\n\n## Python project\nPr\u00e9sentation des diff\u00e9rents fichiers pr\u00e9sents\n\n## Choose your distribution\non peut choisir entre distribute, setuptools, distutils ou Distutils2.\nSeule solution passe partout pour le moment c\u2019est setuptools !\n\n## setup.py\n\n## Make your Package \"user friendly\"\n- __init__.py\n\nThe __init__.py files are required to make Python treat the directories as containing packages; \nthis is done to prevent directories with a common name, such as string, from unintentionally hiding \nvalid modules that occur later on the module search path. \nIn the simplest case, __init__.py can just be an empty file, but it can also execute initialization \ncode for the package or set the __all__ variable, described later.\n\n- __version__\n\n- __all__\n\n- easy import functions\n\n## Test on local environment\n\n- pipdeptree\n\n$ python setup.py install\n\n## Push on PyPi\n\n- Make sure you have the latest versions of setuptools and wheel installed:\n\n $ python3 -m pip install --user --upgrade setuptools wheel\n\n- Generating distribution archives\n\n $ python3 setup.py sdist bdist_wheel\n\n- Twine is a utility for interacting with PyPI, that offers a secure replacement for setup.py upload.\t\n\n $ python3 -m pip install --user --upgrade twine\n\n- upload all of the archives under dist:\n\n \t$ twine upload --repository-url https://test.pypi.org/legacy/ dist/*\n\n## Installing new uploaded package\n\npython3 -m pip install --index-url https://test.pypi.org/simple/ welovenad\n\n## Ressources\n\n##### Getting started / simple project\n> https://packaging.python.org/tutorials/packaging-projects/\n\n##### Building and Distributing Packages with Setuptools\n> https://setuptools.readthedocs.io/en/latest/setuptools.html\n\n##### Packaging Python Projects\n> https://packaging.python.org/guides/distributing-packages-using-setuptools/\n\n##### Repository BJC \n> https://github.com/BenJoyenConseil/pybbl\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://link/of/your/package", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "welovenad", "package_url": "https://pypi.org/project/welovenad/", "platform": "", "project_url": "https://pypi.org/project/welovenad/", "project_urls": { "Homepage": "https://link/of/your/package" }, "release_url": "https://pypi.org/project/welovenad/1.0.0/", "requires_dist": [ "numpy (>=1.15.1)", "pandas (>=0.23.4)" ], "requires_python": ">=3.6", "summary": "a demo package for NAD !", "version": "1.0.0" }, "last_serial": 4410466, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "9548ad7482ba2ed22d0571a210fde4c4", "sha256": "92641dc2e8b60005fbe530b38e2018e8a4b5d7e1408db0a1138f2e4e7655074e" }, "downloads": -1, "filename": "welovenad-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9548ad7482ba2ed22d0571a210fde4c4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4338, "upload_time": "2018-10-24T10:11:45", "url": "https://files.pythonhosted.org/packages/4a/87/8727c04a75169ea4c5f39bb9e8055dffde1a0a0afa1a2008c8ecb84bedf3/welovenad-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "954574435789436c7038f470e5ed2a09", "sha256": "f554d4fb711dc37b485319063ffa6725250dc8370a8c8cbe56b29ce2b6dcd7d5" }, "downloads": -1, "filename": "welovenad-1.0.0.tar.gz", "has_sig": false, "md5_digest": "954574435789436c7038f470e5ed2a09", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3825, "upload_time": "2018-10-24T10:11:47", "url": "https://files.pythonhosted.org/packages/70/33/8f87fb10fbb29a49b3f280ff23a6f95645d8fb7edcedc8ab617ccff9eba8/welovenad-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9548ad7482ba2ed22d0571a210fde4c4", "sha256": "92641dc2e8b60005fbe530b38e2018e8a4b5d7e1408db0a1138f2e4e7655074e" }, "downloads": -1, "filename": "welovenad-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9548ad7482ba2ed22d0571a210fde4c4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4338, "upload_time": "2018-10-24T10:11:45", "url": "https://files.pythonhosted.org/packages/4a/87/8727c04a75169ea4c5f39bb9e8055dffde1a0a0afa1a2008c8ecb84bedf3/welovenad-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "954574435789436c7038f470e5ed2a09", "sha256": "f554d4fb711dc37b485319063ffa6725250dc8370a8c8cbe56b29ce2b6dcd7d5" }, "downloads": -1, "filename": "welovenad-1.0.0.tar.gz", "has_sig": false, "md5_digest": "954574435789436c7038f470e5ed2a09", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3825, "upload_time": "2018-10-24T10:11:47", "url": "https://files.pythonhosted.org/packages/70/33/8f87fb10fbb29a49b3f280ff23a6f95645d8fb7edcedc8ab617ccff9eba8/welovenad-1.0.0.tar.gz" } ] }