-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
35 lines (30 loc) · 1.05 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
from setuptools import setup, find_packages
try: # for pip >= 10
from pip._internal.req import parse_requirements
except ImportError: # for pip <= 9.0.3
from pip.req import parse_requirements
import setuptools
install_reqs = parse_requirements('requirements.txt', session='hack')
reqs = [str(ir.req) for ir in install_reqs]
with open('README.md', 'r') as fh:
long_description = fh.read()
setuptools.setup(
name='gitstatic',
version='0.0.1',
author='Timothy',
author_email='[email protected]',
description='Git pages for hosting repository',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/ygmpkk/git-static',
packages=setuptools.find_packages(),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
install_requires=reqs,
python_requires='>=2.7',
)