Skip to content

This package helps a developer build a python package easier

License

Notifications You must be signed in to change notification settings

datanooblol/ezpackage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ezpackage

PyPI Latest Release Downloads Repo Size License Release Date

What is ezpackage?

ezpackage is a Python package for building and sharing your python package in an easy way.

Where to get ezpackage

The source code is currently hosted at GitHub:
https://github.com/datanooblol/ezpackage

The latest version is available at
Python Package Index (PyPI)

# pip  
pip install ezpackage  

How to use ezconfiguration

Steps to follow:

# import EzPackage
from ezpackage.package_manager import EzPackage

# initialize EzPackage object
ezpkg = EzPackage(template_package_name='your_package', 
                  template_version='v0.1.0', 
                  template_author_name='your_name', 
                  template_author_email='your-email@something.com', 
                  template_url='https://github.com/your-git-account/your-package',
                  template_description='A package summary.', 
                  template_install_requires=['dependency1', 'dependency2'],
                  template_keywords=['tag1', 'tag2'],
                  template_include_package_data=True,
                  template_python_requires='>=3.0'
                 )

# create setup.py at the same level of your package
ezpkg.create_setup_py(package_parent_dir='your-package-parent-directory')

# build packages including: build, dist, <your package>.egg-info
ezpkg.build_package()

# upload your package in /your-package-parent-directory/dist/* to pypi
ezpkg.upload_to_pypi(username='your-pypi-username', password='your-pypi-password')

# remove built packages from your-package-parent-directory
ezpkg.remove_built_package()

About

This package helps a developer build a python package easier

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages