Suppose we have a file
auth.json for some credentials for the package.
First of all, include this file in your
To make it work, we have to enable
setup.py. For example, we could write the setup function like this:
from setuptools import setup as _setup def setup(): _setup(name = PACKAGE_NAME, version = PACKAGE_VERSION, description = PACKAGE_DESCRIPTION, long_description = PACKAGE_LONG_DESCRIPTION, url = PACKAGE_URL, author = 'Lei Ma', author_email = 'firstname.lastname@example.org', license = 'MIT', packages = _find_packages(exclude=('tests',)), include_package_data=True, test_suite='nose.collector', tests_require=['nose'], zip_safe=False)