Skip to content

Commit d9e4293

Browse files
committed
setup changes
1 parent a44df85 commit d9e4293

File tree

2 files changed

+36
-6
lines changed

2 files changed

+36
-6
lines changed

.gitignore

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@ env/
1010
venv/
1111

1212
# Distribution / packaging
13-
# build/
14-
# dist/
15-
# *.egg-info/
16-
13+
build/
14+
dist/
15+
*.egg-info/
1716
# IDE / editor folders
1817
.vscode/
1918
.idea/
2019
*.swp
21-
22-
setup.py

setup.py

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# setup.py
2+
from setuptools import setup, find_packages
3+
4+
setup(
5+
name="AutoCAD", # Name of your package
6+
version="0.1.2",
7+
packages=find_packages(), # Automatically finds the 'cadvance' package
8+
install_requires=[
9+
'pywin32',
10+
'psutil',
11+
],
12+
entry_points={
13+
'console_scripts': [
14+
'AutoCAD = AutoCAD.__main__:main', # Registers 'cadvance' as a command-line tool
15+
],
16+
},
17+
keywords=["autocad", "automation", "activex", "comtypes", "AutoCAD", "AutoCADlib"],
18+
author="Jones Peter",
19+
author_email="jonespetersoftware@gmail.com",
20+
url="https://github.com/Jones-peter",
21+
description="A professional AutoCAD automation package with many functions.",
22+
long_description=open('README.md').read(),
23+
long_description_content_type='text/markdown',
24+
license="MIT",
25+
classifiers=[
26+
"Programming Language :: Python :: 3",
27+
"License :: OSI Approved :: MIT License",
28+
"Intended Audience :: Developers",
29+
"Intended Audience :: System Administrators",
30+
"Operating System :: Microsoft :: Windows",
31+
],
32+
include_package_data=True, # Include non-Python files, like the README
33+
)

0 commit comments

Comments
 (0)