-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
31 lines (27 loc) · 1.09 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
#!/usr/bin/env python3
import setuptools
import subprocess
long_description = open("README.md").read()
try:
commit_count = subprocess.check_output(["git", "rev-list", "--count", "HEAD"]).decode("utf-8").strip()
except Exception:
commit_count = "git-commit-count-error"
setuptools.setup(
name = 'il',
version = '0.' + commit_count,
author = 'Antti Kervinen',
author_email = '[email protected]',
description = 'Inline assembly in Python',
long_description = long_description,
long_description_content_type = 'text/markdown',
url = 'https://github.com/askervin/python-il',
py_modules = ['il'],
packages = [],
package_data = {},
scripts = [],
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)