| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent cce1a3c commit c988578
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,7 @@ | |||
| 1 | 1 | language: python | |
| 2 | 2 | python: | |
| 3 | 3 | - 3.5 | |
| 4 | + install: | ||
| 5 | + - pip install -r requirements.txt | ||
| 4 | 6 | script: | |
| 5 | 7 | - pytest | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,4 @@ | |||
| 1 | + numpy>=1.16.0 | ||
| 2 | + scipy>=0.19.0 | ||
| 3 | + pandas>=0.24.0 | ||
| 4 | + sqlalchemy>=1.3.5 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,17 +1,14 @@ | |||
| 1 | 1 | from setuptools import setup, find_packages | |
| 2 | 2 | ||
| 3 | + with open('requirements.txt') as f: | ||
| 4 | + requirements = f.read().splitlines() | ||
| 5 | + | ||
| 3 | 6 | setup( | |
| 4 | 7 | name='codonPython', | |
| 5 | 8 | version='0.1', | |
| 6 | 9 | license='BSD', | |
| 7 | 10 | packages=['codonPython',], | |
| 8 | - install_required=[ | ||
| 9 | - 'numpy', | ||
| 10 | - 're', | ||
| 11 | - 'pandas', | ||
| 12 | - 'random', | ||
| 13 | - 'sqlalchemy' | ||
| 14 | - ], | ||
| 11 | + install_requires=requirements, | ||
| 15 | 12 | author='NHS Digital DIS Team', | |
| 16 | 13 | author_email='paul.ellingham@nhs.net', | |
| 17 | 14 | url='https://digital.nhs.uk/data-and-information', | |
| Back | FazBrowse Home | New Git URL |
0 commit comments