Comments (5)
I tried, but all I was able to do is to not include them.
I would accept a PR though.
from pysrt.
Hi, I just tried running python setup.py sdist
and the tests are included in the resulting tarball.
Could it be that you use a MANIFEST.in
that is not present in the git repo?
from pysrt.
I don't have any MANIFEST.in
.
$ python setup.py sdist
running sdist
running egg_info
writing requirements to pysrt.egg-info/requires.txt
writing pysrt.egg-info/PKG-INFO
writing top-level names to pysrt.egg-info/top_level.txt
writing dependency_links to pysrt.egg-info/dependency_links.txt
writing entry points to pysrt.egg-info/entry_points.txt
reading manifest file 'pysrt.egg-info/SOURCES.txt'
writing manifest file 'pysrt.egg-info/SOURCES.txt'
running check
creating pysrt-1.0.1
creating pysrt-1.0.1/pysrt
creating pysrt-1.0.1/pysrt.egg-info
making hard links in pysrt-1.0.1...
hard linking README.rst -> pysrt-1.0.1
hard linking setup.py -> pysrt-1.0.1
hard linking pysrt/__init__.py -> pysrt-1.0.1/pysrt
hard linking pysrt/commands.py -> pysrt-1.0.1/pysrt
hard linking pysrt/comparablemixin.py -> pysrt-1.0.1/pysrt
hard linking pysrt/compat.py -> pysrt-1.0.1/pysrt
hard linking pysrt/srtexc.py -> pysrt-1.0.1/pysrt
hard linking pysrt/srtfile.py -> pysrt-1.0.1/pysrt
hard linking pysrt/srtitem.py -> pysrt-1.0.1/pysrt
hard linking pysrt/srttime.py -> pysrt-1.0.1/pysrt
hard linking pysrt/version.py -> pysrt-1.0.1/pysrt
hard linking pysrt.egg-info/PKG-INFO -> pysrt-1.0.1/pysrt.egg-info
hard linking pysrt.egg-info/SOURCES.txt -> pysrt-1.0.1/pysrt.egg-info
hard linking pysrt.egg-info/dependency_links.txt -> pysrt-1.0.1/pysrt.egg-info
hard linking pysrt.egg-info/entry_points.txt -> pysrt-1.0.1/pysrt.egg-info
hard linking pysrt.egg-info/requires.txt -> pysrt-1.0.1/pysrt.egg-info
hard linking pysrt.egg-info/top_level.txt -> pysrt-1.0.1/pysrt.egg-info
Writing pysrt-1.0.1/setup.cfg
Creating tar archive
Honestly I don't do much python these days, so I'm not very familiar with the packaging solutions.
from pysrt.
Pull request: #59
from pysrt.
I released a 1.1.1
that includes the test. Thanks everybody.
from pysrt.
Related Issues (20)
- New release HOT 2
- Missing git tag for 1.1.1 HOT 2
- Join subtitles HOT 2
- Phantom pointers when assigning fields HOT 1
- In-place mode does not write the entire file HOT 2
- Inserting Subtitle Snippet
- Can't parse text with empty line HOT 2
- time passed to at() will not find caption if the time passed in equals start time of caption
- UnicodeDecodeError
- Script: parsing transcript .srt files into readable text HOT 1
- the latest code in master was not released
- SubRipTime.__init__ should maybe cast the arguments to int or float (aka “TypeError: '>' not supported between instances of 'SubRipTime' and 'dict'” in slice())
- Faster loading HOT 2
- Tag v1.1.2 HOT 1
- UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' HOT 1
- Weird version ??
- text_without_tags should also remove subtitle tags
- pysrt.open() returns empty list
- Captions whose text begins with Line Separator character are parsed as blank string HOT 1
- pysrt fails to build with Python 3.11.0a1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysrt.