| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,6 +3,7 @@ include LICENSE | |||
| 3 | 3 | include CHANGES | |
| 4 | 4 | include AUTHORS | |
| 5 | 5 | include README | |
| 6 | + include requirements.txt | ||
| 6 | 7 | ||
| 7 | 8 | graft git/test/fixtures | |
| 8 | 9 | graft git/test/performance | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,16 +14,20 @@ The object database implementation is optimized for handling large quantities of | |||
| 14 | 14 | * Mock by Michael Foord used for tests | |
| 15 | 15 | - Tested with 1.0.1 | |
| 16 | 16 | ||
| 17 | + The list of dependencies are listed in /requirements.txt. The installer takes care of installing them for you though. | ||
| 18 | + | ||
| 17 | 19 | ### INSTALL | |
| 18 | 20 | ||
| 19 | 21 | If you have downloaded the source code: | |
| 20 | 22 | ||
| 21 | 23 | python setup.py install | |
| 22 | - | ||
| 23 | - or if you want to obtain a copy more easily: | ||
| 24 | + | ||
| 25 | + or if you want to obtain a copy from the Pypi repository: | ||
| 24 | 26 | ||
| 25 | 27 | pip install gitpython | |
| 26 | - | ||
| 28 | + | ||
| 29 | + Both commands will install the required package dependencies. | ||
| 30 | + | ||
| 27 | 31 | A distribution package can be obtained for manual installation at: | |
| 28 | 32 | ||
| 29 | 33 | http://pypi.python.org/pypi/GitPython | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,2 @@ | |||
| 1 | + # Remember to update README.md | ||
| 2 | + gitdb>=0.5.1 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -16,6 +16,8 @@ | |||
| 16 | 16 | VERSION = v.readline().strip() | |
| 17 | 17 | v.close() | |
| 18 | 18 | ||
| 19 | + with open('requirements.txt') as reqs_file: | ||
| 20 | + requirements = reqs_file.read().splitlines() | ||
| 19 | 21 | ||
| 20 | 22 | class build_py(_build_py): | |
| 21 | 23 | def run(self): | |
@@ -73,7 +75,7 @@ def _stamp_version(filename): | |||
| 73 | 75 | package_data = {'git.test' : ['fixtures/*']}, | |
| 74 | 76 | package_dir = {'git':'git'}, | |
| 75 | 77 | license = "BSD License", | |
| 76 | - install_requires='gitdb >= 0.5.1', | ||
| 78 | + install_requires=requirements, | ||
| 77 | 79 | zip_safe=False, | |
| 78 | 80 | long_description = """\ | |
| 79 | 81 | GitPython is a python library used to interact with Git repositories""", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments