forked from juntagrico/juntagrico
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·44 lines (39 loc) · 1.54 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import os
from setuptools import find_packages, setup
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
def get_requirements(requirements_file):
with open(requirements_file) as f:
required = [line.split('#')[0] for line in f.read().splitlines()]
return required
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='juntagrico',
version='1.1.6',
packages=find_packages(),
include_package_data=True,
license='GNU Lesser General Public License v3 (LGPLv3)',
description='juntagrico',
long_description=README,
url='https://www.juntagrico.org',
author='Your Name',
author_email='[email protected]',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 2.0',
'Intended Audience :: Developers',
'Intended Audience :: Other Audience',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python',
# Replace these appropriately if you are stuck on Python 2.
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP :: Site Management',
],
install_requires=get_requirements(os.path.join(ROOT_DIR, 'requirements.txt')),
)