Coder Social home page Coder Social logo

climateimpactlab / cookiecutter-pypackage Goto Github PK

View Code? Open in Web Editor NEW

This project forked from audreyfeldroy/cookiecutter-pypackage

1.0 1.0 0.0 433 KB

Cookiecutter template for a Python package.

Makefile 20.63% Python 65.00% Batchfile 14.38%

cookiecutter-pypackage's People

Contributors

0x0l avatar ardydedase avatar audreyfeldroy avatar benjaoming avatar cerickson avatar delgadom avatar eliasdorneles avatar gregmuellegger avatar jestaubach avatar jhonjairoroa87 avatar jpsca avatar katialira avatar kevgathuku avatar kevinastone avatar kiivihal avatar kragniz avatar krallin avatar mandeep avatar manuphatak avatar palmerev avatar purplediane avatar pydanny avatar pyup-bot avatar requires avatar rgbkrk avatar skarbot avatar thejonanshow avatar tony avatar treyhunner avatar westurner avatar

Stargazers

 avatar

Watchers

 avatar

cookiecutter-pypackage's Issues

Drop tox and simplify requirements files?

Can we drop tox and reduce the number of requirements files? I think travis can do everything tox is doing right now.

While we're at it we can easily clean up how requirements are handled in setup.py.

add conda distribution support

Hey, cool tool! any chance you guys could add support for conda deployments? Especially from travis? Like if there was a flag in the setup options that asked if you wanted conda deploy that would be awesome! Thanks :)

doesn't deploy

on tagged commits (not on master) travis doesn't deploy because not in the target environment
on master, travis doesn't deploy because not a tagged commit.

Maybe replace sphinx syntax in setup.py?

Seems pypi's rst parser chokes on issue, pull, and :py:*: sphinx syntax. This replaces it.

with open('README.rst') as readme_file:
    readme = readme_file.read()

with open('HISTORY.rst') as history_file:
    history = history_file.read()

import re

long_description = re.sub(
    r':py:[a-z]+:`([^`]+)`',
    r'``\1``',
    readme + '\n\n' + history)

long_description = re.sub(
    r':issue:`([^`]+)`',
    r'`GH issue #\1 <https://github.com/ClimateImpactLab/climate_toolbox/issues/\1>`_',
    long_description)

long_description = re.sub(
    r':pull:`([^`]+)`',
    r'`GH PR #\1 <https://github.com/ClimateImpactLab/climate_toolbox/pull/\1>`_',
    long_description)

Drop pinned requirements and odd packages

The pinned requirements are so tots out of date (and have security issues).

The requirements files also lists heavy packages that the user may not actually need (e.g. pandas). These should be gutted.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.