|
| 1 | +import os |
| 2 | +from setuptools import setup, find_packages |
| 3 | + |
| 4 | +with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: |
| 5 | + README = readme.read() |
| 6 | + |
| 7 | +# allow setup.py to be run from any path |
| 8 | +os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) |
| 9 | +PROJECT_NAME = 'opensource_job_portal' |
| 10 | + |
| 11 | +data_files = [] |
| 12 | +for dirpath, dirnames, filenames in os.walk(PROJECT_NAME): |
| 13 | + for i, dirname in enumerate(dirnames): |
| 14 | + if dirname.startswith('.'): |
| 15 | + del dirnames[i] |
| 16 | + if '__init__.py' in filenames: |
| 17 | + continue |
| 18 | + elif filenames: |
| 19 | + for f in filenames: |
| 20 | + data_files.append(os.path.join( |
| 21 | + dirpath[len(PROJECT_NAME) + 1:], f)) |
| 22 | + |
| 23 | +setup( |
| 24 | + name='opensource-job-portal', |
| 25 | + version='0.1.0', |
| 26 | + packages=find_packages(exclude=['tests', 'tests.*']), |
| 27 | + include_package_data=True, |
| 28 | + description='An opensourse Job Portal with Unlimited free job posting, Social Api authentication.', |
| 29 | + long_description=README, |
| 30 | + url='https://github.com/MicroPyramid/opensource-job-portal.git', |
| 31 | + author='Micropyramid', |
| 32 | + |
| 33 | + classifiers=[ |
| 34 | + 'Development Status :: 4 - Beta', |
| 35 | + 'Framework :: Django', |
| 36 | + 'License :: OSI Approved :: MIT License', |
| 37 | + 'Programming Language :: Python', |
| 38 | + 'Programming Language :: Python :: 3', |
| 39 | + 'Programming Language :: Python :: 3.2', |
| 40 | + 'Programming Language :: Python :: 3.3', |
| 41 | + 'Programming Language :: Python :: 3.4', |
| 42 | + 'Programming Language :: Python :: 3.5', |
| 43 | + 'Programming Language :: Python :: 3.6', |
| 44 | + ], |
| 45 | + install_requires=[ |
| 46 | + ], |
| 47 | +) |
| 48 | + |
0 commit comments