Skip to content

Commit 5d72099

Browse files
move requirements to install_requires
1 parent b06783d commit 5d72099

File tree

9 files changed

+36
-19
lines changed

9 files changed

+36
-19
lines changed

.travis.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ python:
44
- "3.4"
55
sudo: required
66
cache: pip
7-
install:
8-
- "pip install --upgrade pip"
9-
- "pip install -r requirements/production.txt"
10-
- "pip install -r requirements/testing.txt"
11-
- "pip install ."
7+
install: pip install --upgrade pip tox coveralls
128
before_script:
139
- wget -q http://johnvansickle.com/ffmpeg/builds/ffmpeg-git-64bit-static.tar.xz
1410
- tar -xf ffmpeg-*.tar.xz -v

MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
include README.rst LICENSE tox.ini .coveragerc runtests.py
22

3-
recursive-include requirements *
3+
recursive-include encode/tests *.txt
44
recursive-include encode/locale *
55
recursive-include encode/static *
66

README.rst

+8
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ django-encode
1212
.. image:: https://img.shields.io/badge/license-MIT-blue.svg
1313
:target: https://raw.githubusercontent.com/collab-project/django-encode/master/LICENSE
1414

15+
1516
Installation
1617
------------
1718

@@ -22,6 +23,13 @@ Use pip_ to install the download and install the package from PyPi_::
2223
Or checkout the source code from Github_::
2324

2425
git clone https://github.com/collab-project/django-encode.git
26+
cd django-encode
27+
pip install -e .
28+
29+
The dependency ``python-video-converter`` is not available on PyPi and needs to be installed
30+
manually::
31+
32+
pip install -e git+https://github.com/thijstriemstra/python-video-converter.git#egg=python-video-converter
2533

2634

2735
Documentation

doc/development.rst

+17-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ Development
33

44
After checkout, install dependencies and package in active virtualenv::
55

6-
$ pip install -r requirements/development.txt
7-
$ pip install -r requirements/testing.txt
8-
$ pip install -r requirements/production.txt
6+
$ pip -e git+https://github.com/thijstriemstra/python-video-converter.git#egg=python-video-converter
97
$ pip install -e .
8+
$ pip install -r encode/tests/requirements.txt
109

1110

1211
Testing
@@ -24,7 +23,7 @@ Running tests without Tox_::
2423

2524
$ ./runtests.py
2625

27-
Directly with `django-admin`::
26+
Directly with ``django-admin``::
2827

2928
$ django-admin test --settings=encode.tests.settings encode
3029

@@ -53,5 +52,19 @@ version `django.mo`::
5352
$ django-admin compilemessages --settings=encode.tests.settings
5453

5554

55+
Documentation
56+
-------------
57+
58+
Install Sphinx::
59+
60+
$ pip install sphinx>=1.1.0
61+
62+
Change to the ``doc`` directory and run::
63+
64+
$ make html
65+
66+
The resulting HTML output can be found in the ``doc/_build/html`` directory.
67+
68+
5669
.. _Tox: http://tox.testrun.org/
5770
.. _coverage.py: http://nedbatchelder.com/code/coverage/
File renamed without changes.

requirements/development.txt

-1
This file was deleted.

requirements/production.txt

-5
This file was deleted.

setup.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,10 @@ def run_tests(self):
5858
author='Collab',
5959
author_email='info@collab.nl',
6060
url='http://github.com/collab-project/django-encode',
61-
license='MIT'
61+
license='MIT',
62+
install_requires=[
63+
'celery>=3.1',
64+
'django-appconf>=0.6',
65+
'django-queued-storage>=0.8.0'
66+
]
6267
)

tox.ini

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ envlist = py27,py34
1010
skipsdist = False
1111

1212
[base]
13-
deps = -r{toxinidir}/requirements/production.txt
14-
-r{toxinidir}/requirements/testing.txt
13+
deps = Django
14+
-egit+https://github.com/thijstriemstra/python-video-converter.git#egg=python-video-converter
15+
-r{toxinidir}/encode/tests/requirements.txt
1516

1617

1718
[testenv]

0 commit comments

Comments
 (0)