Skip to main content

UNKNOWN

Project description

[Because every time I start preparing my projects for PyPI “deployment” I get upset.]

setup.py (and relative files such as MANIFEST.in and setup.cfg) is not simple for the first (second, third) time.

This project aims to provide a simple bootstrap for setup.py and other files on common structure (namedly MANIFEST.in, README.rst, LICENSE, requirements.txt and setup.cfg). Again, it’s a simple bootsrap. Take a look at some examples of generated output here

Installation:

pip install autosetup-py

Usage:

As a python method (with prompts)

from autosetup.main import main

main()
# Your project data will be prompted

As a python method (with parameters)

from autosetup.main import main

main(
    module_name='potato',
    name='potato',
    version='0.0.1',
    author_name='Filipe Waitman',
    author_email='filwaitman@gmail.com',
    cvs_url='http://github.com/filwaitman/potato',
    tests_module='tests',
    requirements='requirements.txt',
    readme='README.rst',
    license='MIT',
)

As a CLI (with prompts)

autosetup-py
# Your project data will be prompted

As a CLI (with parameters)

autosetup-py --module=potato --author_name="Filipe Waitman" --author_email=filwaitman@gmail.com --cvs_url="http://github.com/filwaitman/potato" --license=GPL3 --use-defaults

NOTE: See autosetup-py --help for more options and documentation

Contribute

Did you think in some interesting feature, or have you found a bug? Please let me know!

Of course you can also download the project and send me some pull requests.

You can send your suggestions by opening issues.

You can contact me directly as well. Take a look at my contact information at http://filwaitman.github.io/ (email is preferred rather than mobile phone).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autosetup-py-0.0.1.1.tar.gz (25.1 kB view details)

Uploaded Source

File details

Details for the file autosetup-py-0.0.1.1.tar.gz.

File metadata

File hashes

Hashes for autosetup-py-0.0.1.1.tar.gz
Algorithm Hash digest
SHA256 3bad1a1992765e062bc498cb0b3feef7db71b5d334401fe3f60664287f81fc23
MD5 43c09e34910a36239adcb297e546b0f4
BLAKE2b-256 a7405f57c557aa1c6390a81f8108f986e361e8b9322dfc044264db21c9fb650b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page