Rushabh Mehta | e460aa2 | 2013-12-11 11:32:21 +0530 | [diff] [blame] | 1 | from setuptools import setup, find_packages |
Anand Doshi | 29fe53f | 2015-12-09 12:15:20 +0530 | [diff] [blame] | 2 | from pip.req import parse_requirements |
Rushabh Mehta | e460aa2 | 2013-12-11 11:32:21 +0530 | [diff] [blame] | 3 | |
Nabin Hait | fba61ab | 2016-02-03 15:53:56 +0600 | [diff] [blame] | 4 | version = "6.20.0" |
Anand Doshi | 29fe53f | 2015-12-09 12:15:20 +0530 | [diff] [blame] | 5 | requirements = parse_requirements("requirements.txt", session="") |
Nabin Hait | c07537b | 2014-03-21 12:25:49 +0530 | [diff] [blame] | 6 | |
Rushabh Mehta | e460aa2 | 2013-12-11 11:32:21 +0530 | [diff] [blame] | 7 | setup( |
Anand Doshi | 29fe53f | 2015-12-09 12:15:20 +0530 | [diff] [blame] | 8 | name='erpnext', |
| 9 | version=version, |
| 10 | description='Open Source ERP', |
| 11 | author='Frappe Technologies', |
| 12 | author_email='info@erpnext.com', |
| 13 | packages=find_packages(), |
| 14 | zip_safe=False, |
| 15 | include_package_data=True, |
| 16 | install_requires=[str(ir.req) for ir in requirements], |
| 17 | dependency_links=[str(ir._link) for ir in requirements if ir._link] |
Pratik Vyas | 0240dc5 | 2014-02-14 16:10:55 +0530 | [diff] [blame] | 18 | ) |