Git Product home page Git Product logo

click-datetime's People

Contributors

ddaws avatar dependabot[bot] avatar rytilahti avatar thatch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

click-datetime's Issues

File not found error of README.md

Hi,

Thanks for your good library!

In setup.py, README.md is opend.

with open('README.md') as f:
    readme = f.read()

But the file is not in click-datetime-0.2.tar.gz on PyPi, which causes a FileNotFound error in case of non-binary installation.

show_default=True doesn't match format

If I:

@click.option(
    '--start', '-s',
    type=Datetime(format='%d/%m/%y'),
    default=TODAY,
    help='The start date',
    required=True,
    show_default=True,
)

Then I see:

-s, --start DATE  The end date  [default: 2018-09-10 11:30:58.726917; required]

I could probably raise this upstream but then it is also the responsibility here too?

Can help submit a patch if we're in agreement on a direction!

Thanks for the cool library.

Add Date type

Could you add a date type, for when we want dates without times?

Make new release with README fix

Fix was merged here: assiotis#1

Without this I can't build this from source, which I would like due to other packages i'm installing at the same time requiring pip --global-options, which disable use of wheels.

Is it possible to make a new patch version of click-datetime and release it to pypi?

Missing files in sdist

It appears that the manifest is missing at least one file necessary to build
from the sdist for version 0.2. You're in good company, about 5% of other
projects updated in the last year are also missing files.

+ /tmp/venv/bin/pip3 wheel --no-binary click-datetime -w /tmp/ext click-datetime==0.2
Looking in indexes: http://10.10.0.139:9191/root/pypi/+simple/
Collecting click-datetime==0.2
  Downloading http://10.10.0.139:9191/root/pypi/%2Bf/c56/2ad24b3711784/click-datetime-0.2.tar.gz (1.6 kB)
    ERROR: Command errored out with exit status 1:
     command: /tmp/venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-ot6tapin/click-datetime/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-ot6tapin/click-datetime/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-wheel-ot6tapin/click-datetime/pip-egg-info
         cwd: /tmp/pip-wheel-ot6tapin/click-datetime/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-wheel-ot6tapin/click-datetime/setup.py", line 5, in <module>
        with open('README.md') as f:
    FileNotFoundError: [Errno 2] No such file or directory: 'README.md'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

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.